8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8230e07 commit d96ec9fCopy full SHA for d96ec9f
.github/workflows/releaser.yml
@@ -64,3 +64,18 @@ jobs:
64
with:
65
retention-days: 5
66
path: dist
67
+ -
68
+ name: Fury Uploads
69
+ env:
70
+ FURY_PUSH_TOKEN: ${{ secrets.FURY_PUSH_TOKEN }}
71
+ if: startsWith(github.ref, 'refs/tags/v')
72
+ run: |
73
+ URLS=`curl -fsSL "https://api.github.com/repos/symfony-cli/symfony-cli/releases/latest" | jq -r '.assets[] | select(.name | match("(deb|rpm)$")).browser_download_url'`
74
+ for URL in $URLS
75
+ do
76
+ readarray -d "/" -t arr <<< "$URL"
77
+ NAME=${arr[-1]}
78
+ curl -fsSL $URL > /tmp/$NAME
79
+ curl https://$FURY_PUSH_TOKEN@push.fury.io/symfony/ -F package=@/tmp/$NAME
80
+ unlink /tmp/$NAME
81
+ done
0 commit comments