File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9595 env :
9696 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9797
98+ # Create version.json with version and commit hash
99+ - name : Create version.json
100+ run : |
101+ VERSION=$(cat version_latest.txt | tr -d '[:space:]')
102+ SHORT_SHA="${GITHUB_SHA::7}"
103+ echo "{\"version\": \"${VERSION}\", \"commit\": \"${SHORT_SHA}\"}" > version.json
104+
105+ - name : Build and stage modules
106+ shell : pwsh
107+ run : ./Tools/Build-DevApiModules.ps1
108+
98109 # Create ZIP File in a New Source Directory
99110 - name : Prepare and Zip Release Files
100111 if : env.tag_exists == 'false'
Original file line number Diff line number Diff line change 2525 SHORT_SHA="${GITHUB_SHA::7}"
2626 echo "{\"version\": \"${VERSION}\", \"commit\": \"${SHORT_SHA}\"}" > version.json
2727
28+ - name : Build and stage modules
29+ shell : pwsh
30+ run : ./Tools/Build-DevApiModules.ps1
31+
2832 # Create ZIP File in a New Source Directory
2933 - name : Prepare and Zip Release Files
3034 run : |
You can’t perform that action at this time.
0 commit comments