Skip to content

Commit

Permalink
Merge pull request #2486 from HDR-Development/pre-release
Browse files Browse the repository at this point in the history
save me
  • Loading branch information
WuBoytH authored Aug 2, 2024
2 parents 3f6ec93 + a4ada23 commit 47c408a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build_prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
changelog: ${{ steps.github_changelog.outputs.changelog }}
steps:
# fail out if this is not a merge commit
- name: ensure merge
if: ${{ !startsWith(github.event.head_commit.message, 'Merge') }}
run: exit 1
# - name: ensure merge
# if: ${{ !startsWith(github.event.head_commit.message, 'Merge') }}
# run: exit 1

- name: checkout version
uses: actions/[email protected]
Expand Down Expand Up @@ -178,21 +178,25 @@ jobs:
# get the most recent latest full release
- id: package_latest
continue-on-error: true
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: HDR-Development/HDR-PreReleases

# build the upgrade.zip and deletions.json
- name: make upgrade artifacts
if: steps.package_latest.outcome != 'failure'
run: |
python3 scripts/make_diff.py prerelease
- name: show upgrade artifacts
if: steps.package_latest.outcome != 'failure'
run: |
ls && stat * && echo && ls upgrade_artifacts && stat upgrade_artifacts/*
# upload the upgrade data to the previous release for auto updater
- name: Upload upgrade data to previous release
if: steps.package_latest.outcome != 'failure'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.RELEASE_TOKEN }}
Expand All @@ -206,6 +210,7 @@ jobs:

# upload the upgrade data to the previous release for auto updater
- name: Upload upgrade deletions to previous release
if: steps.package_latest.outcome != 'failure'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.RELEASE_TOKEN }}
Expand Down

0 comments on commit 47c408a

Please sign in to comment.