Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Naxdy committed Oct 20, 2024
1 parent 0330397 commit 61e1f6a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "master"

concurrency:
group: "${{ github.head_ref }}"
group: "master"
cancel-in-progress: true

jobs:
Expand All @@ -29,12 +29,12 @@ jobs:
- name: "Determine release"
id: det-rel
run: |
version=$(nix flake eval .#packages.x86_64-linux.default.version --raw)
version=$(nix eval .#packages.x86_64-linux.default.version --raw)
if [$(git tag -l "$version")]; then
echo "releasever=$version" >> $GITHUB_OUTPUT
else
if [ $(git tag -l "v$version") ]; then
echo "releasever=none" >> $GITHUB_OUTPUT
else
echo "releasever=$version" >> $GITHUB_OUTPUT
fi
- name: "Build Release"
Expand All @@ -50,5 +50,5 @@ jobs:
artifacts: "result/lib/*.nro,result-classic/lib/*.nro"
bodyFile: ".github/release_notes/v${{ steps.det-rel.outputs.releasever }}.md"
name: "v${{ steps.det-rel.outputs.releasever }}"
commit: "${{ github.head_ref }}"
commit: "${{ github.sha }}"
tag: "v${{ steps.det-rel.outputs.releasever }}"

0 comments on commit 61e1f6a

Please sign in to comment.