Skip to content

Commit

Permalink
debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsherrill committed Feb 5, 2024
1 parent de5eae5 commit 6085f72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ jobs:
id: getRelease
run: |
curl https://github.com/candlepin/candlepin/blob/main/api/candlepin-api-spec.yaml -o candlepin-api-spec.yaml
version="`yq -r '.info.version' < candlepin-api-spec.yaml`"
version="`yq -r '.info.version' < candlepin-api-spec.yaml`"
major="v`echo $version | awk -F '.' '{print $1}'`"
tag="release/$version"
echo $version
echo $major
echo $tag
echo "version=$version" >> $GITHUB_OUTPUT
echo "tag=$tag" >> $GITHUB_OUTPUT
echo "major=$major" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 6085f72

Please sign in to comment.