Fix tag name

This commit is contained in:
Edwin Jakobs
2020-04-27 23:01:47 +02:00
parent 2ff672f157
commit 5b3f8e14e3

View File

@@ -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" \