Skip to content

Commit 8d368b4

Browse files
committed
Update ci.yml
1 parent 72e2d4e commit 8d368b4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,16 @@ jobs:
2626
- name: Generate version.lua
2727
run: |
2828
VERSION=$(jq -r .version package.json)
29+
SHORT_COMMIT=$(git rev-parse --short=8 HEAD)
2930
echo "return {" > src/shared/version.lua
3031
echo " version = '${VERSION}'," >> src/sharedversion.lua
31-
echo " commit = '$(git rev-parse --short=8 HEAD)'," >> src/shared/version.lua
32+
echo " commit = '${SHORT_COMMIT}'," >> src/shared/version.lua
3233
echo " branch = '${GITHUB_REF##*/}'," >> src/shared/version.lua
3334
echo "}" >> src/shared/version.lua
3435
36+
- name: Debug: List shared directory
37+
run: ls -l src/shared
38+
3539
- name: Deploy
3640
run: rojo upload --api_key "$API_KEY" --universe_id 7672663738 -v --asset_id 107505894422783
3741
env:

0 commit comments

Comments
 (0)