File tree Expand file tree Collapse file tree 6 files changed +18
-11
lines changed Expand file tree Collapse file tree 6 files changed +18
-11
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ function fetch_ci_scripts() {
44 local inc_dir
55 local inc_url
66 inc_dir=" $( dirname " $0 " ) /inc"
7- inc_url=" ${PMD_CI_SCRIPTS_URL:- https:// raw.githubusercontent.com/ pmd/ build-tools/ master / scripts} /inc"
7+ inc_url=" ${PMD_CI_SCRIPTS_URL:- https:// raw.githubusercontent.com/ pmd/ build-tools/ main / scripts} /inc"
88
99 mkdir -p " ${inc_dir} "
1010
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- - master
87 tags :
98 - ' **'
109 pull_request :
Original file line number Diff line number Diff line change 11# PMD Eclipse Plugin
22
3- [ ![ Build Status] ( https://github.com/pmd/pmd-eclipse-plugin/workflows/build/badge.svg?branch=master )] ( https://github.com/pmd/pmd-eclipse-plugin/actions/?query=workflow%3Abuild+branch%3Amaster )
3+ [ ![ Build Status] ( https://github.com/pmd/pmd-eclipse-plugin/workflows/build/badge.svg?branch=main )] ( https://github.com/pmd/pmd-eclipse-plugin/actions/?query=workflow%3Abuild+branch%3Amaster )
44[ ![ Eclipse Marketplace] ( https://img.shields.io/eclipse-marketplace/v/pmd-eclipse-plugin.svg )] ( https://marketplace.eclipse.org/content/pmd-eclipse-plugin )
55
6- Release Notes: < https://github.com/pmd/pmd-eclipse-plugin/blob/master /ReleaseNotes.md >
6+ Release Notes: < https://github.com/pmd/pmd-eclipse-plugin/blob/main /ReleaseNotes.md >
77
88Eclipse Update Site:
99
Original file line number Diff line number Diff line change @@ -13,6 +13,14 @@ This is a minor release.
1313
1414### New and noteworthy
1515
16+ #### New Git default branch - "main"
17+
18+ We are joining the Git community and updating "master" to "main". Using the term "master" for the main
19+ development branch can be offensive to some people. Existing versions of Git have been always capable of
20+ working with any branch name and since 2.28.0 (July 2020) the default initial branch is configurable
21+ (` init.defaultBranch ` ). Since October 2020, the default branch for new repositories on GitHub
22+ is "main". Finally, PMD will also use this new name for the main branch in all our own repositories.
23+
1624### Fixed Issues
1725
1826### API Changes
Original file line number Diff line number Diff line change @@ -108,11 +108,11 @@ ${RELEASE_NOTES_BODY}
108108EOF
109109
110110echo
111- echo " Updating version in master to next"
111+ echo " Updating version in main to next"
112112./mvnw org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=" ${DEVELOPMENT_VERSION} -SNAPSHOT"
113113git commit -a -m " Prepare next pmd-eclipse-plugin development version ${DEVELOPMENT_VERSION} -SNAPSHOT"
114- echo " Pushing master "
115- git push origin master
114+ echo " Pushing main "
115+ git push origin main
116116
117117echo
118118echo Checkout the release branch and build the plugin
@@ -142,7 +142,7 @@ read -r
142142echo
143143echo " Publishing now..."
144144git restore net.sourceforge.pmd.eclipse.p2updatesite/category.xml
145- git checkout master
145+ git checkout main
146146git branch -D " pmd-eclipse-plugin-rb-${RELEASE_VERSION} "
147147git push origin tag " ${RELEASE_VERSION} .${BUILDQUALIFIER} "
148148echo
198198echo " Please verify and commit and push..."
199199echo " cd ${PMD_GITHUB_IO_DIR} "
200200echo " git commit -m \" PMD For Eclipse ${RELEASE_VERSION} .${BUILDQUALIFIER} Released\" "
201- echo " git push origin master "
201+ echo " git push origin main "
202202echo
203203echo
204204echo Done.
Original file line number Diff line number Diff line change 139139 rootFolder =" ${git.clone.location}" />
140140 <description ></description >
141141 </setupTask >
142- <stream name =" master "
143- label =" master " />
142+ <stream name =" main "
143+ label =" main " />
144144 <logicalProjectContainer
145145 xsi : type =" setup:ProjectCatalog"
146146 href =" index:/org.eclipse.setup#//@projectCatalogs[name='com.github']" />
You can’t perform that action at this time.
0 commit comments