Skip to content

Commit

Permalink
Add release notes and update actions (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored May 30, 2024
1 parent b01d1d0 commit d5d9fe4
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 26 deletions.
40 changes: 21 additions & 19 deletions .github/workflows/release-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,51 +77,51 @@ jobs:
# Get files created by tarball script
- name: Get tgz-tarball (Linux)
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: tgz-tarball
path: ${{ github.workspace }}

- name: Get zip-tarball (Windows)
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: zip-tarball
path: ${{ github.workspace }}

# Get files created by ant script
- name: Get published binary (Windows)
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: zip-win-vs2022-binary
path: ${{ github.workspace }}

- name: Get published binary (MacOS)
uses: actions/download-artifact@v4
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: tgz-osx-binary
path: ${{ github.workspace }}

- name: Get published binary (Linux)
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: tgz-ubuntu-2204-binary
path: ${{ github.workspace }}

# Get files created by ant-app script
- name: Get published app binary (Windows)
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: zip-win-vs2022-app-binary
path: ${{ github.workspace }}

- name: Get published app binary (MacOS)
uses: actions/download-artifact@v4
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: tgz-osx-app-binary
path: ${{ github.workspace }}

- name: Get published app binary (Linux)
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: tgz-ubuntu-2204-app-binary
path: ${{ github.workspace }}
Expand All @@ -146,23 +146,24 @@ jobs:
run: |
echo "${{ steps.get-file-base.outputs.FILE_BASE }}" > ./last-file.txt
# - name: Get NEWSLETTER
# uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
# with:
# name: NEWSLETTER
# path: ${{ github.workspace }}
#
# - name: Create description file
# run: |
# cat ${{ github.workspace }}/NEWSLETTER.txt > description.txt
- name: Get NEWSLETTER
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: NEWSLETTER
path: ${{ github.workspace }}

- name: Create description file
run: |
cat ${{ github.workspace }}/RELEASE.txt > description.txt
- name: PreRelease tag
id: create_prerelease
if: ${{ (inputs.use_environ == 'snapshots') }}
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
uses: softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564 # v2.0.4
with:
tag_name: "${{ inputs.use_tag }}"
prerelease: true
body_path: description.txt
files: |
last-file.txt
${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz
Expand All @@ -179,10 +180,11 @@ jobs:
- name: Release tag
id: create_release
if: ${{ (inputs.use_environ == 'release') }}
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
uses: softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564 # v2.0.4
with:
tag_name: "${{ inputs.use_tag }}"
prerelease: false
body_path: description.txt
files: |
${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz
${{ steps.get-file-base.outputs.FILE_BASE }}.zip
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,13 @@ jobs:
ls -l ${{ github.workspace }}
ls $GITHUB_WORKSPACE/hdfsrc
- name: Save NEWSLETTER
uses: actions/upload-artifact@v4
with:
name: NEWSLETTER
path: ./hdfsrc/docs/RELEASE.txt
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`

- name: Create snapshot source file (tgz and zip)
id: create-snapshot-files
if: ${{ (inputs.use_environ == 'release') }}
Expand Down Expand Up @@ -171,10 +178,3 @@ jobs:
name: zip-tarball
path: ${{ steps.set-file-base.outputs.FILE_BASE }}.zip
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`

# - name: Save NEWSLETTER
# uses: actions/upload-artifact@v4
# with:
# name: NEWSLETTER
# path: ./hdfsrc/release_docs/NEWSLETTER.txt
# if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
1 change: 1 addition & 0 deletions docs/RELEASE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ newest jpackage for distribution.
Major Enhancements
==============================================================================
* Add User Option for editing the plugin path
* Add Support for operating with float16 datatypes

***** Previous fixes *****
* GH #121 Updated all icons with transparency
Expand Down

0 comments on commit d5d9fe4

Please sign in to comment.