mirror of
https://github.com/edgelesssys/constellation.git
synced 2026-01-05 17:55:32 -05:00
cli: overwrite chart versions during install/upgrade
* As charts receive information like the container image from the cli it makes sense to also version the charts based on the cli version. * The pseudoversion is recalculated when running cmake. * When merging changes from release branch to main, a new commit is introduced to set the PROJECT_VERSION back to 0.0.0, so that builds include a pseudoversion.
This commit is contained in:
parent
948a12461c
commit
08ee56911b
66 changed files with 131 additions and 97 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -380,6 +380,12 @@ jobs:
|
|||
git config --global user.email "release[bot]@users.noreply.github.com"
|
||||
git fetch
|
||||
git checkout -b "${NEW_BRANCH}"
|
||||
|
||||
- name: Update CMakeLists.txt
|
||||
run: |
|
||||
sed -i "s/project(constellation LANGUAGES C VERSION [0-9]\+\.[0-9]\+\.[0-9]\+)/project(constellation LANGUAGES C VERSION 0.0.0)/" CMakeLists.txt
|
||||
git add CMakeLists.txt
|
||||
git commit -m "deps: set PROJECT_VERSION to prerelease"
|
||||
git push --set-upstream origin "${NEW_BRANCH}"
|
||||
|
||||
- name: Create PR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue