print tag result

pull/1118/head
Willy 2023-02-01 22:12:40 +01:00
parent 7ada23048c
commit f8c4b1f0f2
No known key found for this signature in database
GPG Key ID: 02E60AE5D9208602
1 changed files with 6 additions and 1 deletions

View File

@ -28,7 +28,7 @@ jobs:
id: versions
run: |
TAG=$(git describe --tags)
if [ "${{ github.ref }}" = "refs/heads/$TAG"]; then
if [ "${{ github.ref }}" = "refs/heads/$TAG" ]; then
echo "is_release=true" >> $GITHUB_OUTPUT
else
echo "is_release=false" >> $GITHUB_OUTPUT
@ -36,6 +36,11 @@ jobs:
# this will be v1.2.3 for on-tag builds and v1.2.3-numberofcommits-sha for off-tag builds
echo "version=$LAST_TAG" >> $GITHUB_OUTPUT
shell: bash
- name: show data results
run: |
echo == version summary ==
echo is_release: ${{ steps.versions.outputs.is_release }}
echo version: ${{ steps.versions.outputs.version }}
frontend:
runs-on: ubuntu-latest
needs: data