diff options
author | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-04-23 16:49:57 +0100 |
---|---|---|
committer | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-04-23 16:49:57 +0100 |
commit | 56c5dc460a0f84237c3f508ab381570e0550f5df (patch) | |
tree | ead9bac43e680ec14a4c695e17d66f09d6733822 /.github/workflows | |
parent | 34358d2c45d23a5b9a86c87b40b405a45eeaeb6a (diff) | |
download | sentrum-56c5dc460a0f84237c3f508ab381570e0550f5df.tar.gz sentrum-56c5dc460a0f84237c3f508ab381570e0550f5df.tar.bz2 sentrum-56c5dc460a0f84237c3f508ab381570e0550f5df.zip |
Fix release job (again)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa70cca..8ea5f7a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: name: sentrum-${{ github.ref_name }}--darwin-x86_64.tar.gz runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: toolchain: stable @@ -32,15 +32,17 @@ jobs: strip target/release/${{ matrix.bin }} if [[ "${{ matrix.os }}" == "windows-latest" ]] then - 7z a ../../${{ matrix.name }} target/release/${{ matrix.bin }} sentrum.sample.toml contrib/sentrum.service + 7z a ${{ matrix.name }} target/release/${{ matrix.bin }} sentrum.sample.toml contrib/sentrum.service else - tar czvf ../../${{ matrix.name }} target/release/${{ matrix.bin }} sentrum.sample.toml contrib/sentrum.service + tar czvf ${{ matrix.name }} target/release/${{ matrix.bin }} sentrum.sample.toml contrib/sentrum.service fi - name: Publish uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: + body_path: docs/CHANGELOG.md draft: true + fail_on_unmatched_files: true files: sentrum-* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |