Skip to content

Commit

Permalink
fix flasher version buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
v00g100skr committed Feb 10, 2025
1 parent 2dc9cb8 commit 3e93d9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upload-pages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ runs:
if: ${{ inputs.beta_binary_path != '' }}
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/>Отримати опис 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: Change lite version in flasher
if: ${{ inputs.lite_binary_path != '' }}
shell: bash
run: |
sed -i 's/>JAAM [0-9.]* Lite</>JAAM ${{ inputs.version }} Lite</' ${{ github.workspace }}/flasher/index.html
sed -i 's/>Встановити JAAM [0-9.]* Lite</>Встановити JAAM ${{ inputs.version }} Lite</' ${{ github.workspace }}/flasher/index.html
sed -i 's/"version": ".*",/"version": "${{ inputs.version }}",/' ${{ github.workspace }}/flasher/manifest-lite.json
- name: Setup Pages
uses: actions/configure-pages@v4
Expand Down

0 comments on commit 3e93d9f

Please sign in to comment.