Skip to content

Commit 07ae216

Browse files
committed
fix: update workflow files to include modulebuilder
1 parent f57e286 commit 07ae216

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/publish_release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,17 @@ jobs:
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'

.github/workflows/upload_dev.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
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: |

0 commit comments

Comments
 (0)