-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): GHA - plugin builds require SemVer (#5665)
I wanted to avoid confusion between a git tag `X` building version `X` and a master or release branch building version `X-dev-*` but it seems unavoidable. SemVer is required by plugins. See constraint: https://github.com/spinnaker/kork/blob/5dc6bb98615667f1b4f3e18445c1651d773c9f6b/kork-plugins/src/main/kotlin/com/netflix/spinnaker/kork/plugins/SpinnakerServiceVersionManager.kt#L47 changes: - fetch full git repository so that we can access previous tag in branch. Convert `release.yml` to this method instead of `run: git.. --unshallow`. - use previous git tag as start of version string. Cut the 'v' prefix from the tag, 'v1.2.3' -> '1.2.3' as required for Plugins (and Debians fwiw): `Caused by: Unexpected character 'LETTER(v)' at position '0', expecting '[DIGIT]'` - append `-dev-<branch_name|'pr'>` to designate that it is not an official version. The short git SHA and date time are NOT present on release versions (eg: 1.2.3) so that also differs. - do this version setting in `pr.yml` as well so we might pick up version issues in PR's and not just at merge.
- v5.91.2
- v5.91.1
- v5.91.0
- v5.90.1
- v5.90.0
- v5.89.0
- v5.88.0
- v5.87.0
- v5.86.4
- v5.86.3
- v5.86.2
- v5.86.1
- v5.86.0
- v5.85.5
- v5.85.4
- v5.85.3
- v5.85.2
- v5.85.1
- v5.85.0
- v5.84.0
- v5.83.4
- v5.83.3
- v5.83.2
- v5.83.1
- v5.83.0
- v5.82.2
- v5.82.1
- v5.82.0
- v5.81.2
- v5.81.1
- v5.81.0
- v5.80.9
- v5.80.8
- v5.80.7
- v5.80.6
- v5.80.5
- v5.80.4
- v5.80.3
- v5.80.2
- v5.80.1
- v5.80.0
- v5.79.0
- v5.78.13
- v5.78.12
- v5.78.11
- v5.78.10
- v5.78.9
- v5.78.8
- v5.78.7
- v5.78.6
- v5.78.5
- v5.78.4
- v5.78.3
- v5.78.2
- v5.78.1
- v5.78.0
- v5.77.0
- v5.76.9
- v5.76.8
- v5.76.7
- v5.76.6
- v5.76.5
- v5.76.4
- v5.76.3
- v5.76.2
- v5.76.1
- v5.76.0
1 parent
f4e4e34
commit 86a14d1
Showing
3 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters