mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-23 09:37:54 +01:00
Fix versions.txt append
This commit is contained in:
parent
79c4c8d667
commit
b683cf41db
12
.github/workflows/on-release.yml
vendored
12
.github/workflows/on-release.yml
vendored
@ -6,7 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update_versions_txt:
|
update_versions_txt:
|
||||||
name: Update version.txt
|
name: Update versions.txt
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
@ -24,17 +24,17 @@ jobs:
|
|||||||
if: ${{ github.event.release.prerelease == true }}
|
if: ${{ github.event.release.prerelease == true }}
|
||||||
run: |
|
run: |
|
||||||
echo "DEV|${{ github.event.release.tag_name }}|${{ env.RELEASE_DOWNLOAD_URL }}|${{ github.event.release.html_url }}" > release_line.txt
|
echo "DEV|${{ github.event.release.tag_name }}|${{ env.RELEASE_DOWNLOAD_URL }}|${{ github.event.release.html_url }}" > release_line.txt
|
||||||
- name: Append to version.txt
|
- name: Append to versions.txt
|
||||||
run: |
|
run: |
|
||||||
cat version.txt > temp.txt
|
cat versions.txt > temp.txt
|
||||||
cat release_line.txt temp.txt > version.txt
|
cat release_line.txt temp.txt > versions.txt
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
uses: EndBug/add-and-commit@v9
|
uses: EndBug/add-and-commit@v9
|
||||||
with:
|
with:
|
||||||
committer_name: GitHub Actions
|
committer_name: GitHub Actions
|
||||||
committer_email: 41898282+github-actions[bot]@users.noreply.github.com
|
committer_email: 41898282+github-actions[bot]@users.noreply.github.com
|
||||||
message: Update version.txt ${{ github.event.release.name }}
|
message: Update versions.txt ${{ github.event.release.name }}
|
||||||
add: version.txt
|
add: versions.txt
|
||||||
|
|
||||||
update_html:
|
update_html:
|
||||||
name: Update html-branch
|
name: Update html-branch
|
||||||
|
Loading…
Reference in New Issue
Block a user