Skip to content

Commit

Permalink
Merge pull request #79 from janw/add-previous-rev-to-env
Browse files Browse the repository at this point in the history
feat: Add PREVIOUS_REVISION to environment
  • Loading branch information
woile authored Mar 5, 2024
2 parents bc2616f + 5e30df8 commit 5329248
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ echo "${PIP_CMD[@]}"
echo "Commitizen version: $(cz version)"

PREV_REV="$(cz version --project)"
echo "PREVIOUS_REVISION=${PREV_REV}" >>"$GITHUB_ENV"

CZ_CMD=('cz')
if [[ $INPUT_DEBUG == 'true' ]]; then
Expand Down

0 comments on commit 5329248

Please sign in to comment.