diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml deleted file mode 100644 index fa69446..0000000 --- a/.github/workflows/pack.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: NuGet Gallery Push - -on: - release: - types: [published] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - submodules: 'true' - ref: ${{ github.ref }} - - name: Notify build - uses: tsickert/discord-webhook@v6.0.0 - with: - webhook-url: ${{ secrets.WEBHOOK_URL }} - content: "<:chemistar:1275056185938153536> ${{ github.event.release.name }} <:chemistar:1275056185938153536>\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 edd2311..0000000 --- a/.github/workflows/prepdraft.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Prepare release draft - -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 - 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..e554723 --- /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: "<:chemistar:1275056185938153536> ${{ steps.release-asset.outputs.SUBJECT }} <:chemistar:1275056185938153536>\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..460ac18 --- /dev/null +++ b/CHANGES @@ -0,0 +1,13 @@ +We've made this small release to fix the NuGet package repository URLs pointing to the Textify repo instead of this one. + +### Changes + +This release contains a variety of changes, including, but not limited to: + +- `[*]` Fixed package repo URLs + +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/ChemiStar/issues/new). diff --git a/CHANGES.TITLE b/CHANGES.TITLE new file mode 100644 index 0000000..ba795ea --- /dev/null +++ b/CHANGES.TITLE @@ -0,0 +1 @@ +[servicing] ChemiStar v1.0.0.1: [2] Helium - Wrong Mole! 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)