fix worklow variables
@@ -36,10 +36,10 @@ on:
value: ${{ jobs.build.outputs.is-dev-release }}
previous-version:
description: "tag of the previous version"
- value: ${{ jobs.build.outputs.is-dev-release }}
+ value: ${{ jobs.build.outputs.previous-version }}
current-version:
description: "tag of the current version"
- value: ${{ jobs.build.outputs.is-dev-release }}
+ value: ${{ jobs.build.outputs.current-version }}
secrets:
GPG_PRIVATE_KEY:
description: "GPG private key for signing commits and tags"
@@ -74,7 +74,7 @@ jobs:
IS_RELEASE=true
echo IS_RELEASE=$IS_RELEASE
echo IS_RELEASE=$IS_RELEASE >> $GITHUB_ENV
- echo "::set-output name=is-release::=$IS_RELEASE"
+ echo "::set-output name=is-release::$IS_RELEASE"
if [[ $(echo $CURRENT_VERSION | grep -w -P '${{ inputs.dev-tag-regex }}') ]]; then
IS_DEV_RELEASE=true
PREVIOUS_VERSION=$(git tag -l --sort=-version:refname --merged $(git log -n 1 refs/remotes/origin/$(git rev-parse --abbrev-ref HEAD) --pretty=format:"%H") | grep -w -P '${{ inputs.dev-tag-regex }}' | head -n 1)
@@ -88,13 +88,13 @@ jobs:
echo IS_DEV_RELEASE=$IS_DEV_RELEASE
echo IS_DEV_RELEASE=$IS_DEV_RELEASE >> $GITHUB_ENV
- echo "::set-output name=is-dev-release::=$IS_DEV_RELEASE"
+ echo "::set-output name=is-dev-release::$IS_DEV_RELEASE"
echo CURRENT_VERSION=$CURRENT_VERSION
echo CURRENT_VERSION=$CURRENT_VERSION >> $GITHUB_ENV
- echo "::set-output name=current-version::=$CURRENT_VERSION"
+ echo "::set-output name=current-version::$CURRENT_VERSION"
echo PREVIOUS_VERSION=$PREVIOUS_VERSION
echo PREVIOUS_VERSION=$PREVIOUS_VERSION >> $GITHUB_ENV
- echo "::set-output name=previous-version::=$PREVIOUS_VERSION"
+ echo "::set-output name=previous-version::$PREVIOUS_VERSION"
echo SINCE_ARG=$SINCE_ARG
echo SINCE_ARG=$SINCE_ARG >> $GITHUB_ENV
