Skip to content

Commit

Permalink
fix: ci build branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Urban committed Feb 28, 2024
1 parent 71e74eb commit 1ddda9f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,8 @@ jobs:
ASSET_NAME: doclytics-${{ env.BRANCH_NAME }}-${{ matrix.os }}
UPLOAD_URL: ${{ steps.get_upload_url.UPLOAD_URL }}
run: |
curl \
-X POST \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Content-Type: application/zip" \
--data-binary @$ASSET_PATH \
"${UPLOAD_URL}?name=${ASSET_NAME}&label=${ASSET_NAME}"
echo ${UPLOAD_URL}
curl -X POST -H "Authorization: token $GITHUB_TOKEN" -H "Content-Type: application/zip" --data-binary @$ASSET_PATH "${UPLOAD_URL}?name=${ASSET_NAME}&label=${ASSET_NAME}"
build-docker:
runs-on: ubuntu-latest
if: ${{ github.ref }} != 'master' && ${{ github.ref }} != 'development'
Expand Down

0 comments on commit 1ddda9f

Please sign in to comment.