Skip to content

Commit

Permalink
chore: fix cog patch release workflow starting from release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed May 4, 2023
1 parent 80d0215 commit 78d50ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cells/_automation/configs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ in {
branch_whitelist = ["main" "release/**"];
ignore_merge_commits = true;
pre_bump_hooks = [
''git switch -c "$(echo "release/{{version}}" | sed 's/\.[^.]*$//')"''
''git switch -c "$(echo "release/{{version}}" | sed 's/\.[^.]*$//')" || git switch "$(echo "release/{{version}}" | sed 's/\.[^.]*$//')"''
"echo {{version}} > ./VERSION"
];
post_bump_hooks = [
Expand Down

0 comments on commit 78d50ae

Please sign in to comment.