Fix GitHub release script now that "master" has been renamed to "main".
This commit is contained in:
parent
e80f27f922
commit
a185eb73b0
1 changed files with 1 additions and 1 deletions
|
@ -50,5 +50,5 @@ curl --silent --request POST \
|
||||||
--header "Content-Type: application/json" \
|
--header "Content-Type: application/json" \
|
||||||
--data "{\"body\": \"$escaped_release_changelog\", \"draft\": false, \"name\": \"borgmatic $version\", \"prerelease\": false, \"tag_name\": \"$version\"}"
|
--data "{\"body\": \"$escaped_release_changelog\", \"draft\": false, \"name\": \"borgmatic $version\", \"prerelease\": false, \"tag_name\": \"$version\"}"
|
||||||
|
|
||||||
github-release create --token="$github_token" --owner=witten --repo=borgmatic --tag="$version" \
|
github-release create --token="$github_token" --owner=witten --repo=borgmatic --tag="$version" --target_commit="main" \
|
||||||
--name="borgmatic $version" --body="$release_changelog"
|
--name="borgmatic $version" --body="$release_changelog"
|
||||||
|
|
Loading…
Reference in a new issue