Skip to content

Commit

Permalink
EPMRPP-89533 || Rename master to main
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet committed Feb 15, 2024
1 parent 7d00987 commit eca16f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
push:
branches:
- develop
- '!master'
- '!main'
paths-ignore:
- README.md
- CHANGELOG.md
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name: release
on:
push:
branches:
- master
- main
paths-ignore:
- '.github/**'
- README.md
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
run: |
git tag -a v${{ needs.calculate-version.outputs.releaseVersion }} -m ${{ needs.calculate-version.outputs.releaseVersion }}
npm version from-git
git push origin master
git push origin main
- name: Update version in changelog file
run: |
releaseDate=$(date +'%Y-%m-%d')
Expand All @@ -108,7 +108,7 @@ jobs:
git status
git add ${{ env.changelogFileName }}
git commit -m "Mention ${{ needs.calculate-version.outputs.releaseVersion }} version in changelog file"
git push origin master
git push origin main
- name: Read changelog Entry
id: readChangelogEntry
uses: mindsers/changelog-reader-action@v1.1.0
Expand All @@ -125,7 +125,7 @@ jobs:
run: |
git fetch
git checkout develop
git merge master -Xtheirs --allow-unrelated-histories
git merge main -Xtheirs --allow-unrelated-histories
echo "${{ steps.bumpSnapshotVersion.outputs.next-version }}-SNAPSHOT" > ${{ env.versionFileName }}
echo "patch" > ${{ env.versionFragmentFileName }}
git status
Expand Down

0 comments on commit eca16f5

Please sign in to comment.