Skip to content

Commit

Permalink
feat: Add PREVIOUS_REVISION to environment
Browse files Browse the repository at this point in the history
  • Loading branch information
janw committed Jan 26, 2024
1 parent bc2616f commit 5e30df8
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 5e30df8

Please sign in to comment.