Rename references to "master" branch to "stable"

closes #2496
This commit is contained in:
Matthias
2020-09-20 11:45:08 +02:00
parent d5b2ffae7a
commit 2b1d0b4ab5
12 changed files with 45 additions and 43 deletions

View File

@@ -4,6 +4,7 @@ on:
push:
branches:
- master
- stable
- develop
tags:
release:
@@ -193,7 +194,7 @@ jobs:
steps:
- name: Cleanup previous runs on this branch
uses: rokroskar/workflow-run-cleanup-action@v0.2.2
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master' && github.repository == 'freqtrade/freqtrade'"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/stable' && github.repository == 'freqtrade/freqtrade'"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
@@ -235,7 +236,7 @@ jobs:
- name: Publish to PyPI (Test)
uses: pypa/gh-action-pypi-publish@master
if: (steps.extract_branch.outputs.branch == 'master' || github.event_name == 'release')
if: (steps.extract_branch.outputs.branch == 'stable' || github.event_name == 'release')
with:
user: __token__
password: ${{ secrets.pypi_test_password }}
@@ -243,7 +244,7 @@ jobs:
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
if: (steps.extract_branch.outputs.branch == 'master' || github.event_name == 'release')
if: (steps.extract_branch.outputs.branch == 'stable' || github.event_name == 'release')
with:
user: __token__
password: ${{ secrets.pypi_password }}