Skip to content

Commit

Permalink
Update packer-main.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBrax committed Nov 14, 2023
1 parent ebd742e commit 1fd3159
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packer-main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,23 @@ echo "{\"client_version\":\"$client_version\",\"server_version\":\"$server_versi
echo "$release_name" > "./release_name.txt"

echo -e "This release was created automatically by the build script.\n\nIt includes the following versions:\n\n* Client: $client_version\n* Server: $server_version\n* twitch-chat-dumper: $dumper_version\n* twitch-vod-chat: $vodchat_version\n\n## Changelog\n\n" > "./release_notes.md"

# upload to github
if [ "$prerelease" = true ]; then
gh release create ${release_name} \
"./release/${release_name}.zip" \
-t "${release_name}" \
--notes-file "./release_notes.md" \
--prerelease \
-R "mrbrax/LiveStreamDVR" \
--draft
else
gh release create ${release_name} \
"./release/${release_name}.zip" \
-t "${release_name}" \
--notes-file "./release_notes.md" \
-R "mrbrax/LiveStreamDVR" \
--draft
fi

echo "Release created"

0 comments on commit 1fd3159

Please sign in to comment.