File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - " master"
77 - " maint/*"
8+ - debug/jsr-dist
89
910concurrency :
1011 group : ${{ github.workflow }}-${{ github.ref }}
4041 - name : Determine master/maintenance branch
4142 id : branch
4243 run : |
43- if [[ "$GITHUB_REF_NAME" = "master" ]]; then
44+ if [[ "$GITHUB_REF_NAME" = "master" || "$GITHUB_REF_NAME" = "debug/jsr-dist" ]]; then
4445 echo "branch=jsr-dist" | tee -a $GITHUB_OUTPUT
4546 echo "mode=dev" | tee -a $GITHUB_OUTPUT
4647 else
7879 - name : Determine next version
7980 id : version
8081 run : |
82+ set -x
8183 BASE=$( jq -r .schema_version schema.json )
8284 if [[ "$BASE" =~ ^[0-9]*\.[0-9]*\.[0-9]*$ ]]; then
8385 # Release, so unconditionally update version
@@ -109,13 +111,14 @@ jobs:
109111 - name : Bump version (${{ steps.version.outputs.version }}) if changed
110112 if : steps.version.outputs.release == 'true'
111113 run : |
114+ set -x
112115 if ! git diff -s --exit-code; then
113116 jq ".version = \"$VERSION\"" jsr.json > tmp.json && mv tmp.json jsr.json
114117 git add jsr.json schema.json context.ts metaschema.ts
115118 git commit -m "Update schema JSR distribution ($VERSION)"
116- git push
119+ # git push
117120 fi
118- - name : Publish to JSR
119- if : success() && steps.version.outputs.release == 'true'
120- run : |
121- npx jsr publish
121+ # - name: Publish to JSR
122+ # if: success() && steps.version.outputs.release == 'true'
123+ # run: |
124+ # npx jsr publish
You can’t perform that action at this time.
0 commit comments