From d9432e460ecfa774bd3b3b2d4502807a884214d0 Mon Sep 17 00:00:00 2001 From: Marcio Date: Thu, 24 Oct 2024 18:52:02 -0300 Subject: [PATCH] Upgrade release workflow (#22) --- .github/workflows/create-release.yml | 1 + Rakefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 888e808..7aeeedf 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -22,6 +22,7 @@ jobs: secrets: inherit uses: ./.github/workflows/ruby-tests.yml bump_version: + needs: tests secrets: inherit uses: ./.github/workflows/bump-version.yml with: diff --git a/Rakefile b/Rakefile index 0f5f964..a0be6d6 100644 --- a/Rakefile +++ b/Rakefile @@ -36,7 +36,7 @@ namespace :version do content.gsub!(/VERSION.+'#{MPUtils::VERSION}'/, "VERSION = '#{version}'") File.open(path, 'w') { |file| file << content } - system("echo \"{new_version}={#{version}}\" >> $GITHUB_OUTPUT") + system("echo \"new_version=#{version}\" >> $GITHUB_OUTPUT") end end end