File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,11 +25,13 @@ jobs:
2525 exit 1
2626 fi
2727
28- # Get the module version and name
28+ # Get the module version and title
2929 - name : Get Module Version
3030 run : |
3131 VERSION=$(jq -r '.version' module.json)
3232 echo "VERSION=$VERSION" >> $GITHUB_ENV
33+ TITLE=$(jq -r '.title' module.json)
34+ echo "TITLE=$TITLE" >> $GITHUB_ENV
3335
3436 # Check if tag version and 'module.json' version are the same
3537 - name : Check if 'module.json' is valid
@@ -104,4 +106,10 @@ jobs:
104106 color : " #ff0088"
105107 avatar_url : " https://media.discordapp.net/attachments/1075015857719230484/1194581653792759908/bot_avatar.png"
106108 username : " Zoty"
107- message : " ${{ github.repository }} got a new release: ${{ env.VERSION }}"
109+ message : |
110+ MODULE UPDATED
111+ Module : ${{ env.TITLE }}
112+ Version : ${{ env.VERSION }}
113+ Link : https://foundryvtt.com/packages/${{ env.MODULE }}
114+ Repository : ${{ github.repository }}
115+ Changelog : ${{ env.CHANGELOG }}
You can’t perform that action at this time.
0 commit comments