mirror of
https://github.com/jtheoof/swappy.git
synced 2024-08-17 02:30:47 +03:00
chore(release): fix CHANGELOG filename during release
This commit is contained in:
parent
a996b2cec6
commit
cfc79d44ed
@ -73,16 +73,16 @@ gpg_sign_archive() {
|
||||
|
||||
git_generate_changelog() {
|
||||
echo "generating changelog..."
|
||||
git diff "v$version"^ -- CHANGELOG.md | tail -n +9 | head -n -4 | sed 's/^+//g' > $release_folder/CHANGELOG.md
|
||||
git diff "v$version"^ -- CHANGELOG.md | tail -n +9 | head -n -4 | sed 's/^+//g' > $release_folder/CHANGELOG-$version.md
|
||||
}
|
||||
|
||||
github_create_release() {
|
||||
echo "creating github release..."
|
||||
gh release create --draft "v$version" \
|
||||
-F "$release_folder/CHANGELOG.md" \
|
||||
-F "$release_folder/CHANGELOG-$version.md" \
|
||||
"$release_folder/$app_name-$version.tar.gz" \
|
||||
"$release_folder/$app_name-$version.tar.gz.sig" \
|
||||
"$release_folder/CHANGELOG.md"
|
||||
"$release_folder/CHANGELOG-$version.md"
|
||||
}
|
||||
|
||||
main() {
|
||||
|
Loading…
Reference in New Issue
Block a user