Skip to content

Commit dc05738

Browse files
committed
#2714: Migrate git branches from "develop" to "main" and "master" to "release"
1 parent 230c2b4 commit dc05738

File tree

98 files changed

+739
-739
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+739
-739
lines changed

.github/workflows/build-deploy-webpage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Build and Deploy Webpage
22
on:
33
push:
4-
branches: [ develop ]
4+
branches: [ main ]
55
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-paths
66
# if [[ ${changed_file} == "CHANGELOG.md" ]] || [[ ${changed_file} = screenshots* ]] || [[ ${changed_file} = webpage* ]] || [[ ${changed_file} = ".github/workflows/build-deploy-webpage.yml" ]] ;
77
paths:

.github/workflows/build-release-qt6.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Build release of QOwnNotes Qt6
33
on:
44
push:
55
branches:
6-
# - master
7-
# For testing also on develop branch
8-
- develop
6+
# - release
7+
# For testing also on main branch
8+
- main
99
tags-ignore:
1010
- '*'
1111
# For testing also on pull requests

.github/workflows/build-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Build and Release QOwnNotes
33
on:
44
push:
55
branches:
6-
- master
7-
# - develop
6+
- release
7+
# - main
88
tags-ignore:
99
- '*'
1010

.github/workflows/build-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build QOwnNotes
33
on:
44
push:
55
branches-ignore:
6-
- master
6+
- release
77
tags-ignore:
88
- '*'
99
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-paths

.github/workflows/build-webpage.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Build Webpage
22
on:
33
push:
4-
branches: [ develop ]
4+
branches: [ main ]
55
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-paths
66
# if [[ ${changed_file} == "CHANGELOG.md" ]] || [[ ${changed_file} = screenshots* ]] || [[ ${changed_file} = webpage* ]] || [[ ${changed_file} = ".github/workflows/build-webpage.yml" ]] ;
77
paths:
88
- '.github/workflows/build-webpage.yml'
99
pull_request:
10-
branches: [ develop ]
10+
branches: [ main ]
1111
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-paths
1212
# if [[ ${changed_file} == "CHANGELOG.md" ]] || [[ ${changed_file} = screenshots* ]] || [[ ${changed_file} = webpage* ]] || [[ ${changed_file} = ".github/workflows/build-webpage.yml" ]] ;
1313
paths:

.gitlab-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ build_job:
2525
script:
2626
- echo do some testing...
2727
only:
28-
- develop
29-
- master
28+
- main
29+
- release
3030

3131
deployment_job:
3232
type: deploy
@@ -48,4 +48,4 @@ deployment_job:
4848
- ../gitlab-ci/deploy-file.sh $RELEASE_ID $GITHUB_ACCESS_TOKEN
4949

5050
only:
51-
- master
51+
- release

.travis.disabled.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ os:
99

1010
branches:
1111
only:
12-
- develop
13-
- master
12+
- main
13+
- release
1414
- testing
1515
- /^feature.+$/
1616

@@ -76,7 +76,7 @@ script:
7676
- cd ./tests
7777
- qmake DEFINES+=INTEGRATION_TESTS CONFIG+=ccache && make -s -j 2
7878
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
79-
if [ "${TRAVIS_BRANCH}" != "master" ]; then
79+
if [ "${TRAVIS_BRANCH}" != "release" ]; then
8080
./../bin/tests/tests -platform minimal -txt
8181
&& ../travis/linux/coveralls.sh
8282
;
@@ -123,7 +123,7 @@ before_deploy:
123123
- git config --global user.email "[email protected]"
124124
- git config --global user.name "Travis CI"
125125
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
126-
if [ "${TRAVIS_BRANCH}" == "master" ]; then
126+
if [ "${TRAVIS_BRANCH}" == "release" ]; then
127127
export GIT_TAG=linux-b$TRAVIS_BUILD_NUMBER-$TIME_STRING
128128
;
129129
else
@@ -132,7 +132,7 @@ before_deploy:
132132
fi
133133
;
134134
else
135-
if [ "${TRAVIS_BRANCH}" == "master" ]; then
135+
if [ "${TRAVIS_BRANCH}" == "release" ]; then
136136
export GIT_TAG=macosx-b$TRAVIS_BUILD_NUMBER-$TIME_STRING
137137
;
138138
else
@@ -145,26 +145,26 @@ before_deploy:
145145
- git push -q https://[email protected]/pbek/QOwnNotes --tags >/dev/null 2>&1
146146

147147
deploy:
148-
# Linux master release
148+
# Linux release release
149149
- provider: releases
150150
api_key:
151151
secure: DaUepv9X3aPy91r8FBCyA0yUEQ0CNYQyA5EzlXsvLWsTi7XjscWZXCkv2BoFxk+MXvsCweaS6/qRbIn8/cW1TFLo6ZAbHjucnmjtSZn9wr9j3SEV7fM6jpAc6XBMMHtgjCaKZMpvH1R2Ed6O3DNr7L0//zB/PDhQx+rDeDre1kA=
152152
file: QOwnNotes-$VERSION_NUMBER.deb
153153
skip_cleanup: true
154154
on:
155155
repo: pbek/QOwnNotes
156-
branch: master
156+
branch: release
157157
tags: false
158158
condition: $CONFIG = release && ${TRAVIS_OS_NAME} = linux
159-
# macOS master release
159+
# macOS release release
160160
- provider: releases
161161
api_key:
162162
secure: DaUepv9X3aPy91r8FBCyA0yUEQ0CNYQyA5EzlXsvLWsTi7XjscWZXCkv2BoFxk+MXvsCweaS6/qRbIn8/cW1TFLo6ZAbHjucnmjtSZn9wr9j3SEV7fM6jpAc6XBMMHtgjCaKZMpvH1R2Ed6O3DNr7L0//zB/PDhQx+rDeDre1kA=
163163
file: QOwnNotes-$VERSION_NUMBER.dmg
164164
skip_cleanup: true
165165
on:
166166
repo: pbek/QOwnNotes
167-
branch: master
167+
branch: release
168168
tags: false
169169
condition: $CONFIG = release && ${TRAVIS_OS_NAME} = osx
170170
# Linux development release
@@ -175,7 +175,7 @@ deploy:
175175
# skip_cleanup: true
176176
# on:
177177
# repo: pbek/QOwnNotes
178-
# branch: develop
178+
# branch: main
179179
# tags: false
180180
# condition: ${TRAVIS_OS_NAME} = linux
181181
# macOS development release
@@ -187,7 +187,7 @@ deploy:
187187
# skip_cleanup: true
188188
# on:
189189
# repo: pbek/QOwnNotes
190-
# branch: develop
190+
# branch: main
191191
# tags: false
192192
# condition: ${TRAVIS_OS_NAME} = osx
193193

0 commit comments

Comments
 (0)