Skip to content
Snippets Groups Projects
Commit 6cb8523e authored by Julian's avatar Julian
Browse files

Fix autoupdate

parent d4d5ca12
No related branches found
No related tags found
No related merge requests found
Pipeline #19964 waiting for manual action
...@@ -25,7 +25,7 @@ autoupdate: ...@@ -25,7 +25,7 @@ autoupdate:
-e 's/^(release_stable_([0-9]{4})-([0-9]{2})-([0-9]{2}))$/\1 0.0.\2\3\4/p' \ -e 's/^(release_stable_([0-9]{4})-([0-9]{2})-([0-9]{2}))$/\1 0.0.\2\3\4/p' \
-e 's/^(release_stable_([0-9]{4})-([0-9]{2})-([0-9]{2})([a-z]*))$/\1 0.0.\2\3\4.\5/p' \ -e 's/^(release_stable_([0-9]{4})-([0-9]{2})-([0-9]{2})([a-z]*))$/\1 0.0.\2\3\4.\5/p' \
| tail -n 3 | while read upstream_version debian_version; do | tail -n 3 | while read upstream_version debian_version; do
if [ "$(git tag -l "$debian_version")" == "" ]; then if [ "$(git tag -l "v$debian_version")" == "" ]; then
printf "variables:\n UPSTREAM_VERSION: ${upstream_version}" > gitlabci-version.yml printf "variables:\n UPSTREAM_VERSION: ${upstream_version}" > gitlabci-version.yml
git commit -m "[autoupdate] Bump version to ${upstream_version}" gitlabci-version.yml git commit -m "[autoupdate] Bump version to ${upstream_version}" gitlabci-version.yml
git tag "v${debian_version}" git tag "v${debian_version}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment