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

fix: no code fix; only release and publish process

parent 18de7ddb
No related branches found
No related tags found
No related merge requests found
...@@ -58,14 +58,20 @@ in ...@@ -58,14 +58,20 @@ in
export MNEMONIC=$(echo $NAME | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]//g') export MNEMONIC=$(echo $NAME | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]//g')
${pkgs'.envsubst}/bin/envsubst < ./nix/config/release.nix.template > ./nix/config/release.nix ${pkgs'.envsubst}/bin/envsubst < ./nix/config/release.nix.template > ./nix/config/release.nix
${pkgs'.nodejs_22}/bin/npm version "$gitVersion" if ! ${pkgs'.nodejs_22}/bin/npm version "$gitVersion" --no-git-tag-version; then
echo_fail "Error: Could not write project version."
exit 1
fi
${pkgs'.git}/bin/git tag -a $gitVersion -m"chore: bump version to $gitVersion" ${pkgs'.git}/bin/git tag -a $gitVersion -m"chore: bump version to $gitVersion"
${updateChangelogScript}/bin/update-changelog ${updateChangelogScript}/bin/update-changelog
cd $CI_PROJECT_DIR || exit 1 cd $CI_PROJECT_DIR || exit 1
${pkgs'.git}/bin/git tag -d "$gitVersion" if ! ${pkgs'.git}/bin/git tag -d "$gitVersion" 2>/dev/null; then
echo_fail "Error: Could not delete git tag $gitVersion."
exit 1
fi
${pkgs'.git}/bin/git commit -m "chore: release $gitVersion" CHANGELOG.md ./nix/config/release.nix package.json ${pkgs'.git}/bin/git commit -m "chore: release $gitVersion" CHANGELOG.md ./nix/config/release.nix package.json
${pkgs'.git}/bin/git tag -a $gitVersion -m"chore: bump version to $gitVersion" ${pkgs'.git}/bin/git tag -a $gitVersion -m"chore: bump version to $gitVersion"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment