From 1733e8738af384807f5aafd2a30ffb4674f4beec Mon Sep 17 00:00:00 2001 From: Tatsuya Sato Date: Sat, 20 May 2023 22:07:27 +0900 Subject: [PATCH 1/2] Add github configuration for auto release --- .github/release.yml | 23 +++++++++++++++++++++++ .github/workflows/release.yml | 21 +++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .github/release.yml create mode 100644 .github/workflows/release.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..48eec75 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,23 @@ +changelog: + categories: + - title: Enhancements + labels: + - 'enhancement' + + - title: Bug Fixes + labels: + - 'bug' + + - title: Chores + labels: + - '*' + + exclude: + labels: + - dependencies + authors: + - dependabot + + - title: Dependencies + labels: + - dependencies \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..3f4549f --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,21 @@ +on: + push: + branches: + - master + tags: + - 'v*.*.*' + +jobs: + build: + name: Build a package + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') # Run only when tagged like v1.0.1 + with: + files: packages/${{steps.package_name.outputs.package_name}}.zip + generate_release_notes: true From 0b123af49021decfc58d4a45f6d3db0ece491cef Mon Sep 17 00:00:00 2001 From: Tatsuya Sato Date: Sat, 20 May 2023 22:07:34 +0900 Subject: [PATCH 2/2] Bump up the version --- lib/docx/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docx/version.rb b/lib/docx/version.rb index c1b19d5..314874c 100644 --- a/lib/docx/version.rb +++ b/lib/docx/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Docx #:nodoc: - VERSION = '0.7.0' + VERSION = '0.8.0' end