Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
ahlulmukh committed Oct 1, 2024
1 parent abb9221 commit b0e4637
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 @@ -17,8 +17,8 @@ jobs:

- name: Generate Changelog
run: |
# Ambil tag sebelumnya, jika tidak ada tag sebelumnya gunakan INITIAL_COMMIT
PREVIOUS_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "INITIAL_COMMIT")
# Ambil tag sebelumnya, jika tidak ada tag sebelumnya gunakan commit pertama
PREVIOUS_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || git rev-list --max-parents=0 HEAD)
NEW_TAG=${{ github.ref_name }}
echo "Previous tag: $PREVIOUS_TAG"
Expand Down

0 comments on commit b0e4637

Please sign in to comment.