Skip to content

Commit

Permalink
debug release tag again
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Nov 22, 2022
1 parent 28fe9ff commit e3054f2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,13 @@ jobs:

- name: Set latest release tag as a environment variable
run: |
echo "RELEASE_VERSION=${{ steps.executables.outputs.tag }}" >> $GITHUB_ENV
v=$(echo "${{ steps.executables.outputs.tag }} + 1.0" | bc)
echo "NEXT_VERSION=$v" >> $GITHUB_ENV
echo "MODFLOW-USGS/executables current version is $RELEASE_VERSION"
echo "MODFLOW-USGS/executables next version is $NEXT_VERSION"
current="${{ steps.executables.outputs.tag }}"
# next="${current%.*}.$((${current##*.}+1))"
next=$(echo "${{ steps.executables.outputs.tag }} + 1.0" | bc)
echo "RELEASE_VERSION=$current" >> $GITHUB_ENV
echo "NEXT_VERSION=$next" >> $GITHUB_ENV
echo "MODFLOW-USGS/executables current version is $current"
echo "MODFLOW-USGS/executables next version is $next"
- name: Download a Build Artifact
uses: actions/[email protected]
Expand Down

0 comments on commit e3054f2

Please sign in to comment.