Fix tag name
This commit is contained in:
6
.github/workflows/release-to-bintray.yml
vendored
6
.github/workflows/release-to-bintray.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Get the version
|
||||
id: get_version
|
||||
run: export RELEASE_VERSION=${GITHUB_REF/refs\/tags\/v/}
|
||||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 8
|
||||
@@ -20,10 +20,10 @@ jobs:
|
||||
- name: Zip and publish to Bintray
|
||||
run: |
|
||||
cd ~/.m2/repository
|
||||
zip release.zip org/openrndr/extra/*/${RELEASE_VERSION}/*
|
||||
zip release.zip org/openrndr/extra/*/${{ steps.get_version.outputs.VERSION }}/*
|
||||
curl -u ${{ secrets.BINTRAY_USER }}:${{ secrets.BINTRAY_KEY }} -X PUT https://api.bintray.com/content/openrndr/openrndr/ \
|
||||
-H "X-Bintray-Package:orx" \
|
||||
-H "X-Bintray-Version:${RELEASE_VERSION}" \
|
||||
-H "X-Bintray-Version:${{ steps.get_version.outputs.VERSION }}" \
|
||||
-H "X-Bintray-Publish:1" \
|
||||
-H "X-Bintray-Override:1" \
|
||||
-H "X-Bintray-Explode:1" \
|
||||
|
||||
Reference in New Issue
Block a user