Skip to content

Commit

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

Use GITHUB_OUTPUT instead of GITHUB_STATE
  • Loading branch information
arnested authored Dec 22, 2024
2 parents 80b5b9b + 3487a0e commit f716139
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 "date=$(date --iso-8601)" >> "$GITHUB_STATE"
run: echo "date=$(date --iso-8601)" >> "$GITHUB_OUTPUT"
- name: Get shoutrrr version
if: ${{ steps.version.outputs.new_tag }}
id: shoutrrr
run: echo "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_OUTPUT"
- 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 f716139

Please sign in to comment.