Skip to content

Commit

Permalink
Make CD pipeline to create a package with a proper name
Browse files Browse the repository at this point in the history
  • Loading branch information
jriguera committed Mar 28, 2024
1 parent d077b52 commit c53e3b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-final-boshrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,15 @@ jobs:
fi
echo "type=final" | tee -a >> $GITHUB_OUTPUT
fi
version=$(ls releases/$RELEASE/$RELEASE-*.yml | sed 's/.*\/.*-\(.*\)\.yml$/\1/' | sort -t. -k 1,1nr -k 2,2nr | head -1)
version=$(ls releases/$RELEASE/*.yml | sed 's/.*\/.*-\(.*\)\.yml$/\1/' | sort -t. -k 1,1nr -k 2,2nr | head -1)
echo "version=${version}" | tee -a $GITHUB_OUTPUT
echo "file=$GITHUB_WORKSPACE/.build/$RELEASE.tgz" | tee -a $GITHUB_OUTPUT
echo "release=$RELEASE"
- name: Uploads artifact release
uses: actions/upload-artifact@v4
with:
name: boshelease
name: "${{ steps.boshrelease.outputs.release }}-${{ steps.boshrelease.outputs.version }}-boshrelease"
path: ${{ steps.boshrelease.outputs.file }}

- name: Git commit final resources
Expand Down

0 comments on commit c53e3b9

Please sign in to comment.