Skip to content

Commit

Permalink
Add Release Notes
Browse files Browse the repository at this point in the history
- Added RELEASE.md
- Updated main.yml Create Release step to use RELEASE.md
  • Loading branch information
Xorcist authored and Xorcist committed Jul 5, 2024
1 parent 46dcd55 commit ca67d71
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,35 +38,32 @@ jobs:

- name: Create Archive
run: Compress-Archive -Path ./bin/Release/* -Destination ./bin/Stateus_${{ github.ref_name }}.zip

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Stateus_${{ github.ref_name }}
path: ./bin/Release

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref_name }} Release of Stateus
body: |
Changes in this Release
- First Change
- Second Change
release_name: ${{ github.ref_name }} Release of Stateus
body_path: ./RELEASE.md
draft: false
prerelease: false

- name: Upload Release Asset
id: 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 }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./bin/Stateus_${{ github.ref_name }}.zip
asset_name: Stateus_${{ github.ref_name }}.zip
asset_content_type: application/zip
3 changes: 3 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Added Logfile-Path command line + configuration file option
- Consolidated/Refactored logging method and output format
- Handled continued live time monitoring even if logging fails

0 comments on commit ca67d71

Please sign in to comment.