mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
change format of nightly build release numbers
They are now the four digit version dash build nr So major.minor.patch.commitsSinceTag-buildNr This makes it easier to correlate the release name and a specific manually built version. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
58fb49f243
commit
fa8db5f3f7
3 changed files with 6 additions and 6 deletions
4
.github/workflows/android.yml
vendored
4
.github/workflows/android.yml
vendored
|
@ -61,9 +61,9 @@ jobs:
|
||||||
id: version_number
|
id: version_number
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
run: |
|
run: |
|
||||||
|
gitversion=$(bash scripts/get-version win)
|
||||||
latest=$(cat ../nightly-builds/latest-subsurface-buildnumber)
|
latest=$(cat ../nightly-builds/latest-subsurface-buildnumber)
|
||||||
today=$(date '+%Y-%m-%d')
|
version="$gitversion-$latest"
|
||||||
version="$today.$latest"
|
|
||||||
echo "version=$version" >> $GITHUB_OUTPUT
|
echo "version=$version" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
# only publish a 'release' on push events (those include merging a PR)
|
# only publish a 'release' on push events (those include merging a PR)
|
||||||
|
|
4
.github/workflows/mac.yml
vendored
4
.github/workflows/mac.yml
vendored
|
@ -59,9 +59,9 @@ jobs:
|
||||||
id: version_number
|
id: version_number
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
run: |
|
run: |
|
||||||
|
gitversion=$(bash scripts/get-version win)
|
||||||
latest=$(cat ../nightly-builds/latest-subsurface-buildnumber)
|
latest=$(cat ../nightly-builds/latest-subsurface-buildnumber)
|
||||||
today=$(date '+%Y-%m-%d')
|
version="$gitversion-$latest"
|
||||||
version="$today.$latest"
|
|
||||||
echo "version=$version" >> $GITHUB_OUTPUT
|
echo "version=$version" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
# only publish a 'release' on push events (those include merging a PR)
|
# only publish a 'release' on push events (those include merging a PR)
|
||||||
|
|
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
|
@ -53,9 +53,9 @@ jobs:
|
||||||
id: version_number
|
id: version_number
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
run: |
|
run: |
|
||||||
|
gitversion=$(bash scripts/get-version win)
|
||||||
latest=$(cat ../nightly-builds/latest-subsurface-buildnumber)
|
latest=$(cat ../nightly-builds/latest-subsurface-buildnumber)
|
||||||
today=$(date '+%Y-%m-%d')
|
version="$gitversion-$latest"
|
||||||
version="$today.$latest"
|
|
||||||
echo "version=$version" >> $GITHUB_OUTPUT
|
echo "version=$version" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
# only publish a 'release' on push events (those include merging a PR)
|
# only publish a 'release' on push events (those include merging a PR)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue