From 066e3e92e121b9da4b33909d41b6709238d5467b Mon Sep 17 00:00:00 2001 From: Bryan Naegele Date: Sun, 4 Feb 2024 17:59:52 -0700 Subject: [PATCH] Update publish-mix-hex-release.yml --- .github/workflows/publish-mix-hex-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-mix-hex-release.yml b/.github/workflows/publish-mix-hex-release.yml index 8929470..9b8d893 100644 --- a/.github/workflows/publish-mix-hex-release.yml +++ b/.github/workflows/publish-mix-hex-release.yml @@ -124,7 +124,6 @@ jobs: core.exportVariable('package_version', version); core.exportVariable('gh_release_tag_name', ghRelease.tag_name) - core.info(`language: ${needs.config.outputs.language}`) core.info(`Draft release tag to be created: ${version}`) var srcFilePath = ""; @@ -136,11 +135,13 @@ jobs: srcFilePath = `${needs.config.outputs.working_directory}/mix.exs`; srcVersionRegex = /@version\s+"[^"]+"/; vsnLineTemplate = `@version "${version}"`; + break; case 'elixir-erlang': case 'erlang': srcFilePath = `${needs.config.outputs.working_directory}/src/${needs.config.outputs.package_name}.app.src`; srcVersionRegex = /{vsn:\s+"[^"]+"},/; vsnLineTemplate = `{vsn: "${version}"},`; + break; default: core.setFailed('Language not recognized'); }