Merge pull request #172 from puppetlabs/fix-release-indent

Fix release workflow indentation
This commit is contained in:
Jake Spain 2023-03-21 15:04:07 -04:00 committed by GitHub
commit 930277a730
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,18 +15,18 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
ref: ${{ github.ref }} ref: ${{ github.ref }}
clean: true clean: true
fetch-depth: 0 fetch-depth: 0
- name: Get New Version - name: Get New Version
id: nv id: nv
run: | run: |
version=$(grep VERSION lib/vmfloaty/version.rb |rev |cut -d "'" -f2 |rev) version=$(grep VERSION lib/vmfloaty/version.rb |rev |cut -d "'" -f2 |rev)
echo "version=$version" >> $GITHUB_OUTPUT echo "version=$version" >> $GITHUB_OUTPUT
echo "Found version $version from lib/vmfloaty/version.rb" echo "Found version $version from lib/vmfloaty/version.rb"
- name: Get Current Version - name: Get Current Version
uses: actions/github-script@v6 uses: actions/github-script@v6