Skip to content

Commit

Permalink
Check upgrade of versions file
Browse files Browse the repository at this point in the history
  • Loading branch information
aurindam committed Sep 30, 2024
1 parent 12110b9 commit 44b52a7
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,7 @@ jobs:

- name: Update version in versions.json
run: |
sed -i '/"name": "development snapshot"/,/"preferred": true,/c\
"name": "development snapshot",\
"url": "https://snapshots.slint.dev/master/docs"\
},\
{\
"preferred": true,\
"version": "${{ inputs.version }}",\
"url": "https://releases.slint.dev/${{ inputs.version }}/docs/slint"\
},\
{' releases/versions.json
sed -i '0,/"version": "[0-9]\+\.[0-9]\+\.[0-9]\+"/s//"version": "${{ inputs.version }}"/' releases/versions.json
- name: Print contents before update
run: cat releases/versions.json

0 comments on commit 44b52a7

Please sign in to comment.