diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8a0bc1..e30645f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,8 @@ on: permissions: contents: write packages: write + id-token: write + attestations: write jobs: release: @@ -39,6 +41,10 @@ jobs: # builds the gem and saves the version to GITHUB_ENV - name: build run: echo "GEM_VERSION=$(gem build ${{ env.GEM_NAME }}.gemspec 2>&1 | grep Version | cut -d':' -f 2 | tr -d " \t\n\r")" >> $GITHUB_ENV + + - uses: actions/attest-build-provenance@v1 + with: + subject-path: "${{ env.GEM_NAME }}-${{ env.GEM_VERSION }}.gem" - name: publish to GitHub packages run: | diff --git a/Gemfile.lock b/Gemfile.lock index 110f229..5e70e64 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - entitlements-app (0.3.2) + entitlements-app (0.3.3) concurrent-ruby (= 1.1.9) faraday (~> 2.0) net-ldap (~> 0.17) diff --git a/lib/version.rb b/lib/version.rb index 5dbb0fc..81862a2 100644 --- a/lib/version.rb +++ b/lib/version.rb @@ -2,6 +2,6 @@ module Entitlements module Version - VERSION = "0.3.2" + VERSION = "0.3.3" end end