Update hotfix script

This commit is contained in:
Willy-JL
2023-06-03 04:08:05 +01:00
parent 6326b7ff1f
commit 25eed74201
6 changed files with 42 additions and 19 deletions

View File

@@ -46,17 +46,24 @@ jobs:
- name: "Read version tag"
run: bash .github/workflow_data/version.sh
- name: "Make tgz, zip and webupdater"
- name: "Make tgz and zip"
run: bash .github/workflow_data/package.sh
- name: "Upload hotfix"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
python -m pip install requests
python .github/workflow_data/hotfix.py
- name: "Upload to webupdater"
env:
NC_HOST: "https://cloud.cynthialabs.net/"
NC_USER: "${{ secrets.NC_USER }}"
NC_PASS: "${{ secrets.NC_PASS }}"
- name: "Upload hotfix"
run: python .github/workflow_data/hotfix.py
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
python -m pip install pyncclient
python .github/workflow_data/webupdater.py
- name: "Merge pull request"
uses: "pascalgn/automerge-action@v0.15.6"

View File

@@ -46,15 +46,20 @@ jobs:
- name: "Read version tag"
run: bash .github/workflow_data/version.sh
- name: "Make tgz, zip and webupdater"
- name: "Make tgz and zip"
run: bash .github/workflow_data/package.sh
- name: "Update release notes"
run: python .github/workflow_data/release.py
- name: "Upload to webupdater"
env:
NC_HOST: "https://cloud.cynthialabs.net/"
NC_USER: "${{ secrets.NC_USER }}"
NC_PASS: "${{ secrets.NC_PASS }}"
- name: "Update release notes"
run: python .github/workflow_data/release.py
run: |
python -m pip install pyncclient
python .github/workflow_data/webupdater.py
- name: "Merge pull request"
uses: "pascalgn/automerge-action@v0.15.6"