mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
Place the auto-update script on testing branch
This commit is contained in:
parent
86a39deb03
commit
f111cdbfb4
2 changed files with 1 additions and 3 deletions
3
.github/workflows/updater.sh
vendored
3
.github/workflows/updater.sh
vendored
|
@ -16,9 +16,6 @@
|
||||||
# FETCHING LATEST RELEASE AND ITS ASSETS
|
# FETCHING LATEST RELEASE AND ITS ASSETS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Access the branch 'testing'
|
|
||||||
git checkout testing
|
|
||||||
|
|
||||||
# Fetching information
|
# Fetching information
|
||||||
current_version=$(jq -j '.version|split("~")[0]' manifest.json)
|
current_version=$(jq -j '.version|split("~")[0]' manifest.json)
|
||||||
repo=$(jq -j '.upstream.code|split("https://github.com/")[1]' manifest.json)
|
repo=$(jq -j '.upstream.code|split("https://github.com/")[1]' manifest.json)
|
||||||
|
|
1
.github/workflows/updater.yml
vendored
1
.github/workflows/updater.yml
vendored
|
@ -17,6 +17,7 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
ref: 'testing'
|
||||||
- name: Run the updater script
|
- name: Run the updater script
|
||||||
id: run_updater
|
id: run_updater
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Reference in a new issue