mirror of
https://github.com/fluencelabs/marine.git
synced 2025-03-15 14:00:50 +00:00
generate prerelease description
This commit is contained in:
parent
8c84b8e039
commit
6a7e500c7f
16
.github/workflows/publish_release.yml
vendored
16
.github/workflows/publish_release.yml
vendored
@ -84,10 +84,18 @@ jobs:
|
|||||||
run: cargo login ${{ secrets.CRATES_IO_TOKEN }}
|
run: cargo login ${{ secrets.CRATES_IO_TOKEN }}
|
||||||
|
|
||||||
# Set the same version to all crates in the workspace and publish
|
# Set the same version to all crates in the workspace and publish
|
||||||
- name: Publish to crates.io
|
# - name: Publish to crates.io
|
||||||
run: cargo ws publish --no-git-commit --allow-dirty --yes custom "${{ env.FINAL_VERSION }}"
|
# run: cargo ws publish --no-git-commit --allow-dirty --yes custom "${{ env.FINAL_VERSION }}"
|
||||||
|
|
||||||
### Create a pre-release
|
### Create a pre-release
|
||||||
|
- name: Generate prerelease description
|
||||||
|
run: |
|
||||||
|
RELEASE_DESCRIPTION=""
|
||||||
|
for CRATE_NAME in $(cargo ws list)
|
||||||
|
do
|
||||||
|
RELEASE_DESCRIPTION=$RELEASE_DESCRIPTION"\n[${{ env.FINAL_VERSION }} @ crates.io](https://crates.io/crates/$CRATE_NAME/${{ env.FINAL_VERSION }})"
|
||||||
|
done
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
@ -98,5 +106,5 @@ jobs:
|
|||||||
release_name: Fluence Compute Engine ${{ env.FINAL_VERSION }}
|
release_name: Fluence Compute Engine ${{ env.FINAL_VERSION }}
|
||||||
body: |
|
body: |
|
||||||
- [${{ env.FINAL_VERSION }} @ crates.io](https://crates.io/crates/${{ env.PKG_NAME }}/${{ env.FINAL_VERSION }})
|
- [${{ env.FINAL_VERSION }} @ crates.io](https://crates.io/crates/${{ env.PKG_NAME }}/${{ env.FINAL_VERSION }})
|
||||||
draft: false
|
draft: true
|
||||||
prerelease: true
|
prerelease: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user