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 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