We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba90749 commit 2bffaafCopy full SHA for 2bffaaf
.github/workflows/create-release-tag.yaml
@@ -10,6 +10,21 @@ jobs:
10
- uses: actions/checkout@v2
11
with:
12
fetch-depth: '0'
13
+ - name: Compute new tag
14
+ uses: anothrNick/[email protected]
15
+ id: dry_run
16
+ env:
17
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18
+ DEFAULT_BUMP: none
19
+ RELEASE_BRANCHES: develop
20
+ VERBOSE: false
21
+ DRY_RUN: true
22
+ - if: ${{ steps.dry_run.new_tag != "" }}
23
+ run: |
24
+ v=$(grep ^CBMC_VERSION src/config.inc | perl -p -e 's/^CBMC_VERSION\s*=\s*//')
25
+ echo "CBMC_VERSION: $v"
26
+ echo "New tag: ${{ steps.dry_run.new_tag }}"
27
+ test "cbmc-$v" == ${{ steps.dry_run.new_tag }}
28
- name: Bump version and push tag
29
uses: anothrNick/[email protected]
30
env:
0 commit comments