mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: fix release branch naming
This commit is contained in:
parent
85a13fab19
commit
004aa6c5ed
6
.github/workflows/on-release.yml
vendored
6
.github/workflows/on-release.yml
vendored
@ -32,11 +32,7 @@ jobs:
|
||||
|
||||
- name: Determine branch names
|
||||
run: |
|
||||
WITHOUT_V=${FULL_VERSION#v}
|
||||
PART_MAJOR=${WITHOUT_V%%.*}
|
||||
PART_MINOR=${WITHOUT_V#*.}
|
||||
MAJOR_MINOR=${PART_MAJOR}.${PART_MINOR}
|
||||
RELEASE_BRANCH="release/v${MAJOR_MINOR}"
|
||||
RELEASE_BRANCH="release/${FULL_VERSION%.*}"
|
||||
WORKING_BRANCH="tmp/${FULL_VERSION}"
|
||||
echo "RELEASE_BRANCH=${RELEASE_BRANCH}" | tee -a "$GITHUB_ENV"
|
||||
echo "WORKING_BRANCH=${WORKING_BRANCH}" | tee -a "$GITHUB_ENV"
|
||||
|
Loading…
Reference in New Issue
Block a user