Skip to content

Commit

Permalink
Merge pull request #734 from intersystems/v0.10.x-fix-718
Browse files Browse the repository at this point in the history
chore: upload zpm.xml artifact as well
  • Loading branch information
isc-tleavitt authored Feb 7, 2025
2 parents 932d40f + 6e28594 commit 285e588
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ jobs:
tag_name: v${{ needs.prepare.outputs.version }}
release_name: v${{ needs.prepare.outputs.version }}
prerelease: ${{ github.event_name != 'release' }}
- name: Upload Beta Release Asset
- name: Upload Beta Release Asset (versioned)
uses: actions/upload-release-asset@v1
if: github.event_name == 'push'
env:
Expand All @@ -282,6 +282,16 @@ jobs:
asset_path: zpm-${{ needs.prepare.outputs.version }}.xml
asset_name: zpm-${{ needs.prepare.outputs.version }}.xml
asset_content_type: text/xml
- name: Upload Beta Release Asset (versionless)
uses: actions/upload-release-asset@v1
if: github.event_name == 'push'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: zpm-${{ needs.prepare.outputs.version }}.xml
asset_name: zpm.xml
asset_content_type: text/xml
- name: Publish release
if: github.event_name == 'release'
env:
Expand All @@ -299,7 +309,7 @@ jobs:
halt
EOF
docker stop $CONTAINER
- name: Upload Public Release Asset
- name: Upload Public Release Asset (versioned)
uses: actions/upload-release-asset@v1
if: github.event_name == 'release'
env:
Expand All @@ -309,6 +319,16 @@ jobs:
asset_path: zpm-${{ needs.prepare.outputs.version }}.xml
asset_name: zpm-${{ needs.prepare.outputs.version }}.xml
asset_content_type: text/xml
- name: Upload Public Release Asset (versionless)
uses: actions/upload-release-asset@v1
if: github.event_name == 'release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: zpm-${{ needs.prepare.outputs.version }}.xml
asset_name: zpm.xml
asset_content_type: text/xml
- name: Bump Release number
if: github.event_name == 'release'
env:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- #669: Work with a wider variety of ORAS repos (removes _catalog call)
- #726: Fixed a bug where loading a tarball doesn't install dependencies from `.modules` subfolder even when it's available
- #731: Issue upgrading from v0.9.x due to refactor of repo classes
- #718: Upload zpm.xml (without the version) as an artifact to provide a more stable URL to latest release artifact on GitHub

### Security
-
Expand Down

0 comments on commit 285e588

Please sign in to comment.