Skip to content

Commit

Permalink
Merge pull request #476 from MrBrax/develop-ts
Browse files Browse the repository at this point in the history
Update packer-main.sh
  • Loading branch information
MrBrax authored Nov 14, 2023
2 parents deef7ac + 1fd3159 commit dde7cdc
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 dde7cdc

Please sign in to comment.