Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/linux.yml')
-rw-r--r--.github/workflows/linux.yml11
1 files changed, 4 insertions, 7 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 383140324..f7f9b90e5 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -189,10 +189,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: |
@@ -306,13 +304,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