Skip to content

Commit 2fa867f

Browse files
authored
Fix the version detection code (#510)
1 parent 6d0cd32 commit 2fa867f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
changelog:
2020
runs-on: ubuntu-latest
2121
steps:
22+
- uses: actions/checkout@v2
2223
- id: read-version
2324
run: |
24-
echo "::set-output name=VERSION::$(cat ./lib/ice_cube/version.rb | grep VERSION | awk '{ print $3 }' | sed -e 's/\"//g')"
25-
- uses: actions/checkout@v2
25+
echo "::set-output name=VERSION::`cat lib/ice_cube/version.rb | grep -i version | awk '{ print $3 }' | sed -e 's/\"//g'`"
2626
- uses: dangoslen/[email protected]
2727
with:
2828
skipLabels: 'skip-changelog'

0 commit comments

Comments
 (0)