Skip to content
Snippets Groups Projects
Verified Commit fa02babc authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: test gorelease

parent 5c4b0c20
No related branches found
No related tags found
No related merge requests found
......@@ -23,10 +23,11 @@
stage: tag
script:
- devenv shell tag-version
only:
- master
except:
- tags
rules:
- if: '$CI_COMMIT_MESSAGE =~ /NOT_TAGIT/'
when: never
release:
tags:
......
......@@ -126,10 +126,11 @@
stage: tag
script:
- devenv shell tag-version
only:
- master
except:
- tags
rules:
- if: '$CI_COMMIT_MESSAGE =~ /NOT_TAGIT/'
when: never
release:
tags:
......@@ -308,11 +309,11 @@ in {
sed -i "s/version\s*=\s*\".*\"/version=\"''${NEWVERSION}\"/" ${config.devenv.root}/project.nix
${pkgs.git}/bin/git add ${config.devenv.root}/project.nix
${pkgs.git}/bin/git commit -m "chore: Bump version to ''${NEWVERSION}"
${pkgs.git}/bin/git commit -m "chore: Bump version to ''${NEWVERSION} (NOT_TAGIT)"
${pkgs.git}/bin/git log --decorate=short --pretty=oneline
${pkgs.git}/bin/git tag -a "''${NEWVERSION}" -m "chore: Release ''${NEWVERSION}"
${pkgs.git}/bin/git tag -a "''${NEWVERSION}" -m "chore: Release ''${NEWVERSION} (NOT_TAGIT)"
${pkgs.git}/bin/git push origin $CI_COMMIT_REF_NAME --tags
'';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment