Fix snap stable builds
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -51,15 +51,15 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Switch to master branch
|
- name: Switch to main branch
|
||||||
run: git checkout master
|
run: git checkout main
|
||||||
- name: Pull latest changes
|
- name: Pull latest changes
|
||||||
run: git pull
|
run: git pull
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
id: prepare
|
id: prepare
|
||||||
run: |
|
run: |
|
||||||
git fetch --prune --tags
|
git fetch --prune --tags
|
||||||
if [[ $GITHUB_REF == refs/tags/* || $GITHUB_REF == refs/heads/master ]]; then
|
if [[ $GITHUB_REF == refs/tags/* || $GITHUB_REF == refs/heads/main ]]; then
|
||||||
echo ::set-output name=RELEASE::stable
|
echo ::set-output name=RELEASE::stable
|
||||||
else
|
else
|
||||||
echo ::set-output name=RELEASE::edge
|
echo ::set-output name=RELEASE::edge
|
||||||
|
|||||||
Reference in New Issue
Block a user