diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f9a08bf..e5184f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,13 @@ jobs: draft: false prerelease: false + - name: Get Name of Artifact + run: | + ARTIFACT_1_PATHNAME=$(ls *.tar.gz | head -n 1) + ARTIFACT_2_PATHNAME=$(ls *.sh | head -n 1) + echo ::set-env name=ARTIFACT_1_PATHNAME::${ARTIFACT_1_PATHNAME} + echo ::set-env name=ARTIFACT_2_PATHNAME::${ARTIFACT_2_PATHNAME} + - name: Upload Release Asset id: upload-release-asset uses: actions/upload-release-asset@v1 @@ -52,7 +59,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./*.tar.gz + asset_path: ${{ env.ARTIFACT_1_PATHNAME }} asset_name: flow.tar.gz asset_content_type: application/gzip @@ -63,7 +70,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./*.sh + asset_path: ${{ env.ARTIFACT_2_PATHNAME }} asset_name: flow.sh asset_content_type: application/x-sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 61fb284..57b95fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [3.0.8] - 2023-07-17 + +### Fixed + +- Generate asset names automatically. + ## [3.0.7] - 2023-07-17 ### Fixed @@ -141,6 +147,7 @@ _Stable release based on [3.0.0-rc.2]._ ## [1.0.0] - 2016-12-22 +[3.0.8]: https://https://github.com/internetguru/flow/compare/v3.0.7...v3.0.8 [3.0.7]: https://https://github.com/internetguru/flow/compare/v3.0.6...v3.0.7 [3.0.6]: https://https://github.com/internetguru/flow/compare/v3.0.5...v3.0.6 [3.0.5]: https://https://github.com/internetguru/flow/compare/v3.0.4...v3.0.5 diff --git a/VERSION b/VERSION index 2451c27..67786e2 100755 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.0.7 +3.0.8