This commit is contained in:
2024-04-21 18:09:59 +02:00
parent f56b500d61
commit 7f416274d5
3 changed files with 10 additions and 2 deletions

View File

@@ -40,8 +40,8 @@ spec:
echo -n "${FullSemVer}" | tee $(results.gitVersion.path)
# normalize a bit because
# image tags can only contain `abcdefghijklmnopqrstuvwxyz0123456789_-.ABCDEFGHIJKLMNOPQRSTUVWXYZ`
PACKAGEVERSION=$(echo -n $FullSemVer | sed 's/[^-._0-9A-Za-z]/-/g')
echo -n "${PACKAGEVERSION}" | tee $(results.packageVersion.path)
packageVersion=$(echo -n $FullSemVer | sed 's/[^-._0-9A-Za-z]/-/g')
echo -n "${packageVersion}" | tee $(results.packageVersion.path)
workspaces:
- name: source
description: A workspace that contains the fetched git repository to create a version for.