File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## Release Build
22
33The github action creates a draft release for every build on the
4- master branch. You can publish any release from the master branch
4+ main branch. You can publish any release from the main branch
55as either "Pre-release" or final release upon publishing.
66
77Idea is to delete intermediate releases after a while manually.
@@ -14,9 +14,9 @@ care for the rest.
1414Format of the version follows https://semver.org the 3 segment
1515is automatically increased with every build by github or for
1616local builds is ` -dev ` . Also builds from a other branch than
17- master get ` -RC ` as part of the version number.
17+ main get ` -RC ` as part of the version number.
1818
19- A typical master branch version looks like ` v1.2.432 ` a build from
19+ A typical main branch version looks like ` v1.2.432 ` a build from
2020any temporary branch is ` v1.2-RC433 ` . Please also note that the numeric
2121last part (patch) of github builds always increases and is never the
2222same for 2 different builds.
Original file line number Diff line number Diff line change 2020#
2121name : OpenBikeSensor - CI
2222on :
23- # Trigger when pushing in master or pull requests, and when creating
23+ # Trigger when pushing in main or pull requests, and when creating
2424 # a pull request.
2525 push :
2626 branches :
27- - master
27+ - main
2828 pull_request :
2929 types : [opened, synchronize, reopened]
3030
4545 echo GITHUB Ref: ${{ github.ref }}
4646 VERSION_STRING=`grep "const char \*OBSVersion =" src/OpenBikeSensorFirmware.cpp`
4747 MAJOR=`echo ${VERSION_STRING} | cut -f2 -d\"`
48- if [ "${{ github.ref }}" = "refs/heads/master " ]
48+ if [ "${{ github.ref }}" = "refs/heads/main " ]
4949 then
5050 PATCH=${GITHUB_RUN_NUMBER}
5151 SEPARATOR=.
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ name: "CodeQL"
1313
1414on :
1515 push :
16- branches : [ master ]
16+ branches : [ main ]
1717 pull_request :
1818 # The branches below must be a subset of the branches above
19- branches : [ master ]
19+ branches : [ main ]
2020 schedule :
2121 - cron : ' 37 23 * * 1'
2222
You can’t perform that action at this time.
0 commit comments