From f0a5a635978e7f897066c5b0ae8ad5f3a4ba35f3 Mon Sep 17 00:00:00 2001 From: Seow Alex Date: Fri, 21 Apr 2023 12:12:19 +0800 Subject: [PATCH] Test --- .github/workflows/release.yml | 31 +++++++++++++++++++++++++++++++ CHANGELOG.md | 5 +---- 2 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..74926db --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,31 @@ +name: Release + +on: + push: + tags: + - v[0-9]+.[0-9]+.[0-9]+ + +jobs: + release: + name: Release + runs-on: ubuntu-latest + steps: + - name: Get version from tag + id: tag_name + run: echo current_version=${GITHUB_REF_NAME#v} >> $GITHUB_OUTPUT + - name: Checkout + uses: actions/checkout@v3 + - name: Get changelog entry + id: changelog_reader + uses: mindsers/changelog-reader-action@v2 + with: + version: ${{ steps.tag_name.outputs.current_version }} + validation_level: error + - name: Create Release + uses: softprops/action-gh-release@v1 + with: + body: ${{ steps.changelog_reader.outputs.changes }} + - name: Upload assets + uses: taiki-e/upload-rust-binary-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 07d7b53..37fafe6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,13 +25,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.1.4] - 2023-02-12 -### Added - -- Ensure that bind mounts that do not exist are created. - ### Fixed - Make `stop_grace_period` work. +- Ensure that bind mounts that do not exist are created. ## [0.1.3] - 2023-01-18