Skip to content

Commit 6f4fb47

Browse files
committed
more on the timestamp permissions
1 parent 61f78be commit 6f4fb47

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ jobs:
7171
run: npm ci
7272
- name: Ensure timestamp.sh is executable
7373
run: chmod +x timestamp.sh
74+
- name: Show permissions for timestamp.sh
75+
run: ls -l ./timestamp.sh
7476
- uses: rlespinasse/github-slug-action@v3.x
7577
- name: Append commit hash to package version
7678
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"scripts": {
1414
"clean": "rm -rf dist src/versionInfo.ts",
1515
"build": "npm run clean && npm run build-version && npm run typecheck && npm run build-dist && npm run postbuild-js",
16-
"build-version": "./timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix",
16+
"build-version": "bash timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix",
1717
"build-dist": "npm run build-js && npm run build-types",
1818
"build-js": "babel src --out-dir dist --extensions '.ts,.js' --source-maps",
1919
"build-types": "tsc --emitDeclarationOnly",

0 commit comments

Comments
 (0)