Skip to content

Commit

Permalink
chore: fix release automation for patch releases
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Jun 15, 2023
1 parent 6d9499f commit 7d353de
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 "$(echo "release/{{version}}" | sed 's/\.[^.]*$//')"''
''git switch -c "$(echo "release/{{version}}" | sed 's/\.[^.]*$//')" || git switch "$(echo "release/{{version}}" | sed 's/\.[^.]*$//')" && git merge main''
"echo {{version}} > ./VERSION"
];
post_bump_hooks = [
Expand Down

0 comments on commit 7d353de

Please sign in to comment.