When describing the current commit, exclude the Dev tag (#226)

* When describing the current release, exclude the Dev tag

* Only run the release task on non-dev tags (i.e. real release tags)
This commit is contained in:
Declan Freeman-Gleason
2021-01-10 15:57:16 -08:00
committed by GitHub
parent 69d2499e1a
commit 2330b72451
2 changed files with 2 additions and 4 deletions

View File

@@ -7,8 +7,6 @@ name: CI
on:
push:
branches: [ master ]
tags:
- '*'
pull_request:
branches: [ master ]
@@ -208,7 +206,7 @@ jobs:
./gradlew spotlessCheck
release:
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/v')
needs: [build-package]
runs-on: ubuntu-latest
steps: