Skip to content

Commit

Permalink
update on gathering release notes button text
Browse files Browse the repository at this point in the history
  • Loading branch information
yurnov committed Jan 8, 2025
1 parent 0a2f29f commit 93926c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/upload-pages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ runs:
shell: bash
run: |
sed -i 's/>Встановити JAAM [0-9.]*</>Встановити JAAM ${{ inputs.version }}</' ${{ github.workspace }}/flasher/index.html
sed -i 's/>Отримати опис JAAM [0-9.]*</>>Отримати опис JAAM ${{ inputs.version }}</' ${{ github.workspace }}/flasher/index.html
sed -i 's/"version": ".*",/"version": "${{ inputs.version }}",/' ${{ github.workspace }}/flasher/manifest.json
sed -i 's/fetchReleaseNotes('\''[0-9]\{1,\}\.[0-9]\{1,\}'\''/fetchReleaseNotes('\''${{ inputs.version }}'\''/' ${{ github.workspace }}/flasher/index.html
- name: Copy beta bin to flasher
Expand All @@ -41,6 +42,7 @@ runs:
shell: bash
run: |
sed -i 's/>Встановити JAAM [0-9.]* Beta [0-9]*</>Встановити JAAM ${{ inputs.version }} Beta ${{ inputs.beta_build }}</' ${{ github.workspace }}/flasher/index.html
sed -i 's/>Отримати опис JAAM [0-9.]* Beta [0-9]*</>Отримати опис JAAM ${{ inputs.version }} Beta ${{ inputs.beta_build }}</' ${{ github.workspace }}/flasher/index.html
sed -i 's/"version": ".*",/"version": "${{ inputs.version }}-b${{ inputs.beta_build }}",/' ${{ github.workspace }}/flasher/manifest-beta.json
sed -i 's/fetchReleaseNotes('\''[0-9]\{1,\}\.[0-9]\{1,\}-b[0-9]\{1,\}'\''/fetchReleaseNotes('\''${{ inputs.version }}-b${{ inputs.beta_build }}'\''/' ${{ github.workspace }}/flasher/index.html
- name: Copy lite bin to flasher
Expand Down

0 comments on commit 93926c0

Please sign in to comment.