From 62ee5d43525ce196c854ef3848690e0cf8a56e4c Mon Sep 17 00:00:00 2001 From: rajat-puppet Date: Tue, 31 Oct 2023 14:12:19 +0530 Subject: [PATCH] Adding REFERENCE.md updation in module release prep --- .github/workflows/module_release_prep.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/module_release_prep.yml b/.github/workflows/module_release_prep.yml index 33e857b..3c9f2d9 100644 --- a/.github/workflows/module_release_prep.yml +++ b/.github/workflows/module_release_prep.yml @@ -38,6 +38,22 @@ jobs: # Update version in metadata.json, only matching first occurrence sed -i "0,/$current_version/s//${{ github.event.inputs.version }}/" $(find . -name 'metadata.json') + - name: "setup ruby" + uses: "ruby/setup-ruby@v1" + with: + ruby-version: "3.2" + bundler-cache: "true" + + - name: "bundle environment" + run: | + echo ::group::bundler environment + bundle env + echo ::endgroup:: + + - name: "Update REFERENCE.md" + run: | + bundle exec rake strings:generate:reference + - name: "Get version" id: "get_version" run: |