Skip to content

Commit

Permalink
use tag name for release version
Browse files Browse the repository at this point in the history
  • Loading branch information
big-guy committed Oct 15, 2020
1 parent 97d202c commit 4ca05ca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:

- name: Get release version
run: |
RELEASE_VERSION=$(./gradlew properties -q | grep 'version:' | awk '{print $2}')
[[ ! -z "${RELEASE_VERSION}" ]] || (echo "Get empty release version, RELEASE_VERSION='${RELEASE_VERSION}'" && exit 1)
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> ${GITHUB_ENV}
echo "RELEASE_VERSION=${{ github.ref }}" | tr -d 'v' >> ${GITHUB_ENV}
- name: Checkout master
uses: actions/checkout@v2
with:
Expand Down

0 comments on commit 4ca05ca

Please sign in to comment.