Skip to content

Commit

Permalink
try to reinstate LIReC_EXE
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Fievet committed Aug 17, 2024
1 parent 438b665 commit a274fbb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/bundle_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
echo "$SIGNING_KEY" > key
ls
./boinc/sign_executable app.$NEW_VERSION-$PLATFORM/$WRAPPER.exe key > app.$NEW_VERSION-$PLATFORM/$WRAPPER.exe.sig
./boinc/sign_executable app.$NEW_VERSION-$PLATFORM/python311.dll key > app.$NEW_VERSION-$PLATFORM/python311.dll.sig
./boinc/sign_executable app.$NEW_VERSION-$PLATFORM/python3.dll key > app.$NEW_VERSION-$PLATFORM/python3.dll.sig
# ./boinc/sign_executable app.$NEW_VERSION-$PLATFORM/python311.dll key > app.$NEW_VERSION-$PLATFORM/python311.dll.sig
# ./boinc/sign_executable app.$NEW_VERSION-$PLATFORM/python3.dll key > app.$NEW_VERSION-$PLATFORM/python3.dll.sig
zip -r app.$NEW_VERSION-$PLATFORM.zip app.$NEW_VERSION-$PLATFORM
ls
- name: "Sign files"
Expand All @@ -106,7 +106,7 @@ jobs:
run: |
# Exclude the WRAPPER.exe and WRAPPER.exe.sig from this zip because they are included in app.$NEW_VERSION-$PLATFORM.zip
# Including them again could cause issues with duplicate entries when updating versions on the BOINC server.
zip -r --junk-paths $BOINC_PLATFORM.zip . -i version.xml job.$NEW_VERSION-$PLATFORM.xml job.$NEW_VERSION-$PLATFORM.xml.sig app.$NEW_VERSION-$PLATFORM.zip app.$NEW_VERSION-$PLATFORM.zip.sig
zip -r --junk-paths $BOINC_PLATFORM.zip . -i version.xml WRAPPER.exe WRAPPER.exe.sig job.$NEW_VERSION-$PLATFORM.xml job.$NEW_VERSION-$PLATFORM.xml.sig app.$NEW_VERSION-$PLATFORM.zip app.$NEW_VERSION-$PLATFORM.zip.sig
- name: "Create app bundle (non-Windows)"
if: ${{ inputs.platform != 'win' }}
run: |
Expand Down Expand Up @@ -152,7 +152,8 @@ jobs:
if: ${{ ! vars.DO_NOT_DEPLOY }}
run: |
ssh boinc 'sudo su - boincadm -c "cd /home/boincadm/projects/boinc/apps/${{env.APP_DIR}}/${{env.NEW_VERSION}} && ls && unzip -o -q -d ${{env.BOINC_PLATFORM}} ${{env.BOINC_PLATFORM}}.zip && rm -f ${{env.BOINC_PLATFORM}}.zip && ls"'
ssh boinc 'sudo su - boincadm -c "cd /home/boincadm/projects/boinc/apps/${{env.APP_DIR}}/${{env.NEW_VERSION}}/${{env.BOINC_PLATFORM}} && ls && unzip -o -q app.${{env.NEW_VERSION}}-${{inputs.platform}}.zip && ls && mv app.${{env.NEW_VERSION}}-${{inputs.platform}}/* . && ls"'
ssh boinc 'sudo su - boincadm -c "cd /home/boincadm/projects/boinc/apps/${{env.APP_DIR}}/${{env.NEW_VERSION}}/${{env.BOINC_PLATFORM}} && ls && unzip -o -q app.${{env.NEW_VERSION}}-${{inputs.platform}}.zip && ls "'
#ssh boinc 'sudo su - boincadm -c "cd /home/boincadm/projects/boinc/apps/${{env.APP_DIR}}/${{env.NEW_VERSION}}/${{env.BOINC_PLATFORM}} && ls && unzip -o -q app.${{env.NEW_VERSION}}-${{inputs.platform}}.zip && ls && mv app.${{env.NEW_VERSION}}-${{inputs.platform}}/* . && ls"'
- name: 'Run BOINC update versions'
if: ${{ ! vars.DO_NOT_DEPLOY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/identify_target_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: new_version_number
env:
BOINC_APP_DESCRIPTION: ${{ inputs.boinc_app_description }}
SPECIFIED_VERSION: '1.10'
SPECIFIED_VERSION: '1.12'
run: |
echo "BOINC_APP_DESCRIPTION: $BOINC_APP_DESCRIPTION"
echo "SPECIFIED_VERSION: $SPECIFIED_VERSION"
Expand Down
6 changes: 0 additions & 6 deletions boinc/version_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,5 @@
<physical_name>app.{{VERSION}}-{{PLATFORM}}.zip</physical_name>
<logical_name>app.zip</logical_name>
</file>
<file>
<physical_name>python311.dll</physical_name>
</file>
<file>
<physical_name>python3.dll</physical_name>
</file>
<is_wrapper/>
</version>

0 comments on commit a274fbb

Please sign in to comment.