Skip to content

Commit

Permalink
Merge pull request #81 from containrrr/fix-shoutrrr-version-in-github…
Browse files Browse the repository at this point in the history
…-release-2

Fix use of GITHUB_STATE in GitHub Actions workflow
  • Loading branch information
arnested authored Dec 22, 2024
2 parents 0dd2cb3 + 27202cf commit 80b5b9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
- name: Get current date
if: ${{ steps.version.outputs.new_tag }}
id: date
run: echo "name=date::$(date --iso-8601)" >> "$GITHUB_STATE"
run: echo "date=$(date --iso-8601)" >> "$GITHUB_STATE"
- name: Get shoutrrr version
if: ${{ steps.version.outputs.new_tag }}
id: shoutrrr
run: echo "name=version::$(docker build --iidfile ${{ runner.temp }}/iidfile - < Dockerfile 2> /dev/null && docker run --rm "$(cat ${{ runner.temp }}/iidfile)" --version)" >> "$GITHUB_STATE"
run: echo "version=$(docker build --iidfile ${{ runner.temp }}/iidfile - < Dockerfile 2> /dev/null && docker run --rm "$(cat ${{ runner.temp }}/iidfile)" --version)" >> "$GITHUB_STATE"
- name: Build full ChangeLog
if: ${{ steps.version.outputs.new_tag }}
run: npx conventional-changelog-cli --release-count=0 --preset=eslint --outfile="${{ runner.temp }}/FullChangeLog.md"
Expand Down

0 comments on commit 80b5b9b

Please sign in to comment.