88 description : ' Go Module name'
99 default : ' protos-go'
1010 required : true
11- module_description :
12- description : ' Small Go Module Description for Release Text'
13- default : ' Weaver Protos Go'
14- required : true
1511 version :
1612 description : ' Version for Go Release'
1713 default : ' v0.0.0'
@@ -31,16 +27,22 @@ jobs:
3127 run : |
3228 if [ "${{ github.event.inputs.module }}" = "protos-go" ]; then
3329 echo "MODULE_TAG=common/protos-go" >> $GITHUB_ENV
30+ echo "MODULE_DESC='GO Weaver Protos'" >> $GITHUB_ENV
3431 elif [ "${{ github.event.inputs.module }}" = "interop" ]; then
3532 echo "MODULE_TAG=core/network/fabric-interop-cc/contracts/interop" >> $GITHUB_ENV
33+ echo "MODULE_DESC='GO Fabric Interop Chaincode'" >> $GITHUB_ENV
3634 elif [ "${{ github.event.inputs.module }}" = "utils" ]; then
3735 echo "MODULE_TAG=core/network/fabric-interop-cc/libs/utils" >> $GITHUB_ENV
36+ echo "MODULE_DESC='GO Fabric Utils Library for Interoperation'" >> $GITHUB_ENV
3837 elif [ "${{ github.event.inputs.module }}" = "assetexchange" ]; then
3938 echo "MODULE_TAG=core/network/fabric-interop-cc/libs/assetexchange" >> $GITHUB_ENV
39+ echo "MODULE_DESC='GO Fabric Library for Asset Exchange'" >> $GITHUB_ENV
4040 elif [ "${{ github.event.inputs.module }}" = "asset-mgmt" ]; then
4141 echo "MODULE_TAG=core/network/fabric-interop-cc/interfaces/asset-mgmt" >> $GITHUB_ENV
42+ echo "MODULE_DESC='GO Fabric Asset Management Interface'" >> $GITHUB_ENV
4243 elif [ "${{ github.event.inputs.module }}" = "go-sdk" ]; then
4344 echo "MODULE_TAG=sdks/fabric/go-sdk" >> $GITHUB_ENV
45+ echo "MODULE_DESC='GO Fabric Weaver SDK'" >> $GITHUB_ENV
4446 else
4547 echo "Module not known to the workflow. Exiting."
4648 exit 1
5355 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
5456 with :
5557 tag_name : ${{ env.MODULE_TAG }}/${{ github.event.inputs.version }}
56- release_name : ${{ github.event.inputs.version }} - ${{ github.event.inputs.module_description }} - ${{ env.RELEASE_DATE }}
58+ release_name : ${{ github.event.inputs.version }} - ${{ env.MODULE_DESC }} - ${{ env.RELEASE_DATE }}
5759 body : |
5860 - Go Module: `github.com/${GITHUB_REPOSITORY_OWNER}/weaver-dlt-interoperability/${{ env.MODULE_TAG }}`
5961 - Release: ${{ github.event.inputs.version }}
0 commit comments