-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add change log.
- Loading branch information
Showing
3 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Libuvcxx is a header only library, so only the source code needs to be packaged. | ||
|
||
name: Create Release and Upload Asset | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["CMake on multiple platforms"] | ||
branches: [master] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
create-release: | ||
if: ${{ github.event.workflow_run.conclusion == 'success' && startsWith(github.ref, 'refs/tags/r') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Package project files | ||
if: success() | ||
run: | | ||
zip -r archives.zip examples/ include/ tests/ CHANGELOG.md LICENSE README.md | ||
- name: Get the tag name | ||
if: success() | ||
id: get_tag | ||
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/} | ||
|
||
- name: Create Release | ||
if: success() | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ steps.get_tag.outputs.TAG }} | ||
release_name: Release ${{ steps.get_tag.outputs.TAG }} | ||
body: | | ||
See the CHANGELOG.md for details on this release. | ||
draft: false | ||
prerelease: false | ||
|
||
- name: Upload Release Asset | ||
if: success() | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./archives.zip | ||
asset_name: libuvcxx-${{ steps.get_tag.outputs.TAG }}.zip | ||
asset_content_type: application/zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# libuvcxx changelog | ||
|
||
## v0.0.1 | ||
|
||
> Date: 2024-06-16 | ||
### New features | ||
|
||
- The inheritance relationship of objects is basically stable, but there are still some interfaces that need to be encapsulated, and the details of encapsulation may also change. | ||
|
||
### Bug fix | ||
|
||
### Break changes | ||
|
||
### Notice | ||
|
||
### Future plan | ||
|
||
- Encapsulate some necessary classes and add usage examples. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters