-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[Release][FlightSQLODBC] Create release script for signing Windows DLL and MSI #49686
Copy link
Copy link
Open
Description
As discussed in #49404 and #49603, we need a script to pair with the release CI jobs in #49603 to handle signing release artifacts on the release manager's machine. My understanding is that we need this manual/local step because the builds of the FlightSQL ODBC driver DLL and MSI aren't yet reproducible.
Create a new release script, called something like 07-flightsqlodbc-upload.sh with content like,
# download unsigned DLL
gh release download $tag --pattern arrow_flight_sql_odbc_unsigned.dll
# sign ODBC DLL and upload to GitHub release
jsign arrow_flight_sql_odbc_unsigned.dll ...
mv arrow_flight_sql_odbc_unsigned.dll arrow_flight_sql_odbc.dll
gh release upload $tag --clobber arrow_flight_sql_odbc.dll
# trigger CI B
gh workflow run cpp_extra.yml --ref $tag -f odbc_upload=msi
# download unsigned MSI
gh release download $tag --pattern Apache-Arrow-Flight-SQL-ODBC-*-win64.msi
# sign ODBC MSI and upload to GitHub release
jsign Apache-Arrow-Flight-SQL-ODBC-*-win64.msi ...
gh release upload $tag --clobber Apache-Arrow-Flight-SQL-ODBC-*-win64.msi
# remove ODBC DLLs from GitHub release
gh release delete-asset $tag arrow_flight_sql_odbc_unsigned.dll --yes
gh release delete-asset $tag arrow_flight_sql_odbc.dll --yesReactions are currently unavailable
Metadata
Metadata
Assignees
Type
Fields
Give feedbackNo fields configured for issues without a type.