Skip to content

Commit

Permalink
fix: for cog patch release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Feb 17, 2024
1 parent edbcecd commit bb58aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/configs/cog.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
branch_whitelist = ["main" "release/**"];
ignore_merge_commits = true;
pre_bump_hooks = [
"echo {{version}} > ./VERSION"
''
branch="$(echo "release/{{version}}" | sed 's/\.[^.]*$//')"
if [ `git rev-parse --verify $branch 2>/dev/null` ]
Expand All @@ -15,6 +14,7 @@
git switch -c "$branch" || exit 1
fi
''
"echo {{version}} > ./VERSION"
];
post_bump_hooks = [
''
Expand Down

0 comments on commit bb58aa6

Please sign in to comment.