diff options
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r-- | .github/workflows/macos.yml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 8cd99c801..d7679908b 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -214,10 +214,8 @@ jobs: - name: Inject version string run: | - set -x + scripts/version.sh >> $GITHUB_ENV git fetch --prune --unshallow - export VERSION=$(git describe --abbrev=0) - echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Setup release build run: | @@ -346,13 +344,12 @@ jobs: run: | set +x git fetch --unshallow - VERSION=$(git describe --abbrev=0) - echo "VERSION=$VERSION" >> $GITHUB_ENV NEWEST_TAG=$(git describe --abbrev=0) - git log "$NEWEST_TAG..HEAD" > changelog-$VERSION.txt + git log "$NEWEST_TAG..HEAD" > changelog.txt + scripts/version.sh >> $GITHUB_ENV - uses: actions/upload-artifact@v2 with: # Keep exactly this artifact name; it's being used to propagate # version info via GitHub REST API name: changelog-${{ env.VERSION }}.txt - path: changelog-${{ env.VERSION }}.txt + path: changelog.txt |