Skip to content

Commit

Permalink
v4.3.3-20240801
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassth committed Aug 2, 2024
1 parent 77c9110 commit 6baa353
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,15 @@ jobs:
- name: Get Changelog Entry
id: changelog_reader
uses: mindsers/[email protected]
- name: Get Git Tag
id: get_tag
run: echo "TAG=$(git describe --tags)" >> $GITHUB_ENV

- name: Use Git Tag
run: echo "The tag is ${{ env.TAG }}"
- name: Edit changelog.md for dev release
run: |
sed -i "0,/\#\# \[.*/s//## [${{steps.changelog_reader.outputs.version}}-$GITHUB_RUN_ID]/" CHANGELOG.md
sed -i "0,/\#\# \[.*/s//## [${{env.TAG}}]/" CHANGELOG.md
cat CHANGELOG.md
# copied from https://github.com/dart-lang/setup-dart/issues/68#issuecomment-2251116730
- name: 🪪 Get Id Token
Expand All @@ -56,5 +62,5 @@ jobs:
- name: Add entry to Github release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{steps.changelog_reader.outputs.version}}-$GITHUB_RUN_ID
tag_name: ${{ env.TAG }}
prerelease: true

0 comments on commit 6baa353

Please sign in to comment.