Skip to content

Commit

Permalink
hopefully works now
Browse files Browse the repository at this point in the history
  • Loading branch information
9FS committed Sep 18, 2024
1 parent 2811324 commit 47a3465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on tag deploy on github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: "TAG_PREVIOUS"
id: "tag_previous"
run: "echo \"TAG_PREVIOUS=$(git describe --tags --abbrev=0 HEAD~1)\" >> $GITHUB_OUTPUT" # get previous tag, save in TAG_PREVIOUS, push to output
run: "echo \"TAG_PREVIOUS=$(git describe --tags --abbrev=0 $(git describe --tags --abbrev=0)^)\" >> $GITHUB_OUTPUT" # get previous tag, save in TAG_PREVIOUS, push to output

- name: "TODAY"
id: "today"
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- name: "Generate Changelog"
id: "generate_changelog"
run: |
commit_messages=$(git log --pretty=format:"- %h %s" ${{needs.initialisation.outputs.TAG_PREVIOUS}}..${{needs.initialisation.outputs.TAG}})
commit_messages=$(git log --pretty=format:"- %cd (%h): %s" ${{needs.initialisation.outputs.TAG_PREVIOUS}}..${{needs.initialisation.outputs.TAG}})
echo "changelog=# Changelog\n\n$commit_messages" >> $GITHUB_OUTPUT
- name: "Create Release"
Expand Down

0 comments on commit 47a3465

Please sign in to comment.