From 1fc2dd8aeb1c3a8b77b5de0ada885c08af72a826 Mon Sep 17 00:00:00 2001 From: James Armes Date: Thu, 5 Sep 2024 20:55:46 -0400 Subject: [PATCH] Publish to RubyGems via GitHub actions. --- .github/workflows/release.yaml | 23 +++++++++++++++++++++++ README.md | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yaml 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