diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..cf67d53 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,23 @@ +name: Release Gem + +on: + push: + tags: + - '**' + +jobs: + release: + name: Release new version of ConfigSL + runs-on: ubuntu-latest + permissions: + id-token: write + contents: write + steps: + - run: echo "Releasing configsl-${{ github.ref_name }}" + - uses: actions/checkout@v4 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true +# - name: Push to rubygems +# uses: rubygems/release-gem@v1 diff --git a/README.md b/README.md index dbe5dc8..2c125d5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ConfigSL [![Coverage Status][badge-coverage]][coverage] +# ConfigSL [![Gem Version](https://badge.fury.io/rb/configsl.svg)](https://badge.fury.io/rb/configsl) [![Coverage Status][badge-coverage]][coverage] ConfigSL is a simple Domain-Specific Language (DSL) module for configuration. It is designed to provide a declarative way to define configuration, with as few