Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
petrzpav committed Jul 17, 2023
2 parents f6849d4 + c363ea7 commit 61ad714
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,21 @@ 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
env:
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

Expand All @@ -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

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [3.0.8] - 2023-07-17

### Fixed

- Generate asset names automatically.

## [3.0.7] - 2023-07-17

### Fixed
Expand Down Expand Up @@ -144,6 +150,7 @@ _Stable release based on [3.0.0-rc.2]._
## [1.0.0] - 2016-12-22

[Unreleased]: https://https://github.com/internetguru/flow/compare/staging...dev
[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
Expand Down

0 comments on commit 61ad714

Please sign in to comment.