mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-05-24 10:18:53 +00:00
chore: update versioning scheme for versions (post commit releases)
fixes https://github.com/containers/podman-desktop/issues/6758 Signed-off-by: Florent Benoit <fbenoit@redhat.com>
This commit is contained in:
parent
ac9d573d61
commit
f94f98f567
1 changed files with 5 additions and 1 deletions
6
.github/workflows/next-build.yaml
vendored
6
.github/workflows/next-build.yaml
vendored
|
|
@ -44,7 +44,11 @@ jobs:
|
|||
run: |
|
||||
CURRENT_DAY=$(date +'%Y%m%d')
|
||||
SHORT_SHA1=$(git rev-parse --short HEAD)
|
||||
TAG_PATTERN=0.0.$(date +'%Y%m%d%H%M')-${SHORT_SHA1}
|
||||
# grab the version from the package.json
|
||||
PODMAN_DEKSTOP_VERSION=$(jq -r '.version' package.json)
|
||||
# remove the -next from the version
|
||||
STRIPPED_VERSION=${PODMAN_DEKSTOP_VERSION%-next}
|
||||
TAG_PATTERN=${STRIPPED_VERSION}-$(date +'%Y%m%d%H%M')-${SHORT_SHA1}
|
||||
echo "githubTag=v$TAG_PATTERN" >> ${GITHUB_OUTPUT}
|
||||
echo "desktopVersion=$TAG_PATTERN" >> ${GITHUB_OUTPUT}
|
||||
- name: tag
|
||||
|
|
|
|||
Loading…
Reference in a new issue