chore: multipart upload release packages
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
e44fbd5761
commit
589fa1a55b
|
|
@ -79,13 +79,13 @@ jobs:
|
||||||
cargo deb -p dragonfly-client --target ${{ matrix.target }} --variant ${{ matrix.target }} --output $dirname.deb
|
cargo deb -p dragonfly-client --target ${{ matrix.target }} --variant ${{ matrix.target }} --output $dirname.deb
|
||||||
echo "CLIENT_DEB_ASSET=$dirname.deb" >> $GITHUB_ENV
|
echo "CLIENT_DEB_ASSET=$dirname.deb" >> $GITHUB_ENV
|
||||||
|
|
||||||
# - name: Build archive client(RPM)
|
- name: Build archive client(RPM)
|
||||||
# shell: bash
|
shell: bash
|
||||||
# run: |
|
run: |
|
||||||
# binary_name="client"
|
binary_name="client"
|
||||||
# dirname="$binary_name-${{ env.VERSION }}-${{ matrix.target }}"
|
dirname="$binary_name-${{ env.VERSION }}-${{ matrix.target }}"
|
||||||
# cargo generate-rpm -p dragonfly-client --target ${{ matrix.target }} --variant ${{ matrix.target }} --output $dirname.rpm
|
cargo generate-rpm -p dragonfly-client --target ${{ matrix.target }} --variant ${{ matrix.target }} --output $dirname.rpm
|
||||||
# echo "CLIENT_RPM_ASSET=$dirname.rpm" >> $GITHUB_ENV
|
echo "CLIENT_RPM_ASSET=$dirname.rpm" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build archive client(TAR)
|
- name: Build archive client(TAR)
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
@ -128,11 +128,10 @@ jobs:
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
artifacts: "releases/*"
|
||||||
|
generateReleaseNotes: true
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
draft: true
|
draft: true
|
||||||
generateReleaseNotes: true
|
|
||||||
artifacts: "releases/*.rpm,releases/*.deb,releases/*.tar.gz"
|
|
||||||
|
|
||||||
publish-crates:
|
publish-crates:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue