Update CONTRIBUTING and more travis removing (#4179)
This commit is contained in:
parent
9e702ec358
commit
402c09e028
3 changed files with 16 additions and 12 deletions
|
@ -4,14 +4,12 @@ version: build {build}
|
||||||
# More details here: https://www.appveyor.com/docs/appveyor-yml and https://www.appveyor.com/docs/how-to/filtering-commits
|
# More details here: https://www.appveyor.com/docs/appveyor-yml and https://www.appveyor.com/docs/how-to/filtering-commits
|
||||||
skip_commits:
|
skip_commits:
|
||||||
files:
|
files:
|
||||||
- .ci/travis-*
|
|
||||||
- .github/
|
- .github/
|
||||||
- .tx/
|
- .tx/
|
||||||
- webclient/
|
- webclient/
|
||||||
- .clang-format
|
- .clang-format
|
||||||
- .*ignore
|
- .*ignore
|
||||||
- .codacy.yml
|
- .codacy.yml
|
||||||
- .travis.yml
|
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
- Dockerfile
|
- Dockerfile
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
.git/
|
.git/
|
||||||
build/
|
build/
|
||||||
.github/
|
.github/
|
||||||
.travis/
|
|
||||||
.tx/
|
.tx/
|
||||||
cockatrice/
|
cockatrice/
|
||||||
doc/
|
doc/
|
||||||
|
|
25
.github/CONTRIBUTING.md
vendored
25
.github/CONTRIBUTING.md
vendored
|
@ -389,12 +389,15 @@ https://github.com/Cockatrice/Cockatrice/wiki/Translation-FAQ).
|
||||||
|
|
||||||
### Publishing A New Release ###
|
### Publishing A New Release ###
|
||||||
|
|
||||||
GitHub Actions will upload binaries (Linux & macOS) when any release is published
|
We use [GitHub Releases](https://github.com/Cockatrice/Cockatrice/releases) to publish
|
||||||
on GitHub.<br>
|
new stable versions and betas:
|
||||||
AppVeyor is configured to upload binaries (Windows) to GitHub Releases whenever a
|
- GitHub Actions will upload binaries (**Linux & macOS**) when any release is published
|
||||||
<kbd>tag</kbd> is pushed.<br>
|
on GitHub.
|
||||||
You can create a tag when publishing a (pre-)release, but you can also push one
|
- AppVeyor will upload binaries (**Windows**) whenever a
|
||||||
manually and use it in the release.
|
git "tag" is pushed to the repository.
|
||||||
|
|
||||||
|
To trigger both processes correctly you can publish a tagged (pre-)release right on GitHub,
|
||||||
|
or create a tag manually first and use it for the (pre-)release creation afterwards.
|
||||||
|
|
||||||
To create a tag, simply do the following:
|
To create a tag, simply do the following:
|
||||||
```bash
|
```bash
|
||||||
|
@ -413,12 +416,16 @@ You should define the variables as such:
|
||||||
With *MAJ.MIN.PATCH* being the NEXT release version!
|
With *MAJ.MIN.PATCH* being the NEXT release version!
|
||||||
```
|
```
|
||||||
|
|
||||||
|
>**Important:** You have to use the naming pattern `-beta` for the first beta release of one
|
||||||
|
version, followed by `-beta.2`, `-beta.3` and counting...
|
||||||
|
>This is crucial as Appveyor listens only for correct tags matching our defined pattern.
|
||||||
|
|
||||||
This will cause a tagged release to be established on the GitHub repository,
|
This will cause a tagged release to be established on the GitHub repository,
|
||||||
which will then lead to the upload of binaries by Appveyor.
|
which will then lead to the upload of binaries by AppVeyor.
|
||||||
If you use a SemVer tag including "beta", the release that will be created at GitHub
|
If you use a SemVer tag including "beta", the release that will be created at GitHub
|
||||||
by the CI will be marked as a "Pre-release".
|
by AppVeyor will be marked as a "Pre-release" automatically.
|
||||||
The target of the `.../latest` URL will not be changed in that case -
|
The target of the `.../latest` URL will not be changed in that case -
|
||||||
it always points to the latest stable release and not pre-releases.
|
it always points to the latest stable release and not pre-releases/betas.
|
||||||
|
|
||||||
If you accidentally push a tag incorrectly (the tag is outdated, you didn't
|
If you accidentally push a tag incorrectly (the tag is outdated, you didn't
|
||||||
pull in the latest branch accidentally, you named the tag wrong, etc.) you can
|
pull in the latest branch accidentally, you named the tag wrong, etc.) you can
|
||||||
|
|
Loading…
Reference in a new issue