diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml deleted file mode 100644 index 71c103c..0000000 --- a/.github/workflows/pack.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: NuGet Gallery Push - -on: - release: - types: [published] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - ref: ${{ github.ref }} - - name: Notify build - uses: tsickert/discord-webhook@v6.0.0 - with: - webhook-url: ${{ secrets.WEBHOOK_URL }} - content: "<:nettify:1268904841174843593> ${{ github.event.release.name }} <:nettify:1268904841174843593>\n\n${{ github.event.release.body }}" - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: '8.0.x' - - name: Solution Compilation - run: make - - name: Package Publication - run: | - chmod +x tools/*.sh - cd tools ; NUGET_APIKEY=${{ secrets.NUGET_APIKEY }} ./push.sh ; cd .. diff --git a/.github/workflows/prepdraft.yml b/.github/workflows/prepdraft.yml deleted file mode 100644 index 95fe6e9..0000000 --- a/.github/workflows/prepdraft.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Prepare release draft - -on: - push: - tags: - - '**' - -jobs: - build: - - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: actions/checkout@v4 - with: - ref: ${{ github.ref }} - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: '8.0.x' - - name: Setup DocFX - run: dotnet tool install --global docfx - - name: Release Asset Preparation - run: | - chmod +x tools/*.sh - make doc - cd tools ; ./docgen-pack.sh ; cd .. - - name: Release Draft Making - uses: softprops/action-gh-release@v2 - with: - body: "This is a draft release. Fill this with a release snippet from the release sheet made internally." - draft: true - files: | - tools/*.zip diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..45c9957 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,51 @@ +name: Prepare release + +on: + push: + tags: + - '**' + +jobs: + build: + + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v4 + with: + submodules: 'true' + ref: ${{ github.ref }} + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.0.x' + - name: Setup DocFX + run: dotnet tool install --global docfx + - name: Release Asset Preparation + id: release-asset + run: | + chmod +x tools/*.sh + make + make doc + cd tools ; ./docgen-pack.sh ; cd .. + echo "SUBJECT=$(cat CHANGES.TITLE)" >> "$GITHUB_OUTPUT" + echo 'BODY<> "$GITHUB_OUTPUT" + cat CHANGES >> "$GITHUB_OUTPUT" + echo 'EOF' >> "$GITHUB_OUTPUT" + - name: Release Making + uses: softprops/action-gh-release@v2 + with: + body_path: CHANGES + name: ${{ steps.release-asset.outputs.SUBJECT }} + files: | + tools/*.zip + - name: Notify build + uses: tsickert/discord-webhook@v6.0.0 + with: + webhook-url: ${{ secrets.WEBHOOK_URL }} + content: "<:nettify:1268904841174843593> ${{ steps.release-asset.outputs.SUBJECT }} <:nettify:1268904841174843593>\n\n${{ steps.release-asset.outputs.BODY }}" + - name: Package Publication + run: | + chmod +x tools/*.sh + cd tools ; NUGET_APIKEY=${{ secrets.NUGET_APIKEY }} ./push.sh ; cd .. diff --git a/CHANGES b/CHANGES new file mode 100644 index 0000000..09575fb --- /dev/null +++ b/CHANGES @@ -0,0 +1,14 @@ +We've made another small patch release that updates the ISP database and fixes two email addresses. + +### Changes + +This release contains a variety of changes, including, but not limited to: + +- `[*]` Updated the ISP database +- `[*]` Fixed two mail addresses: olc.protection.outlook.com and mail.protection.outlook.com + +Review the commit history if you want to get a deep insight about the changes. + +### Feedback? + +If you have issues with this version, report to us by [making a new issue ticket](https://github.com/Aptivi/Nettify/issues/new). diff --git a/CHANGES.TITLE b/CHANGES.TITLE new file mode 100644 index 0000000..f399dd6 --- /dev/null +++ b/CHANGES.TITLE @@ -0,0 +1 @@ +[servicing] Nettify v1.5.0.3: ISP Fixes! diff --git a/tools/Makefile b/tools/Makefile index 1c31ba0..a03600c 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -8,6 +8,6 @@ invoke-build: chmod +x ./build.sh ./build.sh $(ENVIRONMENT) || (echo Retrying with heap limit 0x$(DOTNET_HEAP_LIMIT)... && DOTNET_GCHeapHardLimit=$(DOTNET_HEAP_LIMIT) ./build.sh $(ENVIRONMENT)) -invoke-doc-build: invoke-build +invoke-doc-build: chmod +x ./docgen.sh ./docgen.sh || (echo Retrying with heap limit 0x$(DOTNET_HEAP_LIMIT)... && DOTNET_GCHeapHardLimit=$(DOTNET_HEAP_LIMIT) ./docgen.sh)