Skip to content

Commit 24f6aa9

Browse files
committed
ci: readding bump version
1 parent dfc1ebf commit 24f6aa9

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/cd.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ jobs:
6464
echo "Setting user input params: VERSION=${{github.event.inputs.version}}, WORKSPACE=${{github.event.inputs.workspace}}"
6565
fi
6666

67+
68+
- name: Bump Version (no tag)
69+
if: github.event.inputs.workspace != '@segment/analytics-react-native'
70+
run: yarn workspace ${{ env.WORKSPACE }} version --${{ env.VERSION }} --no-git-tag-version
71+
72+
- name: Bump Version (tag)
73+
if: github.event.inputs.workspace == '@segment/analytics-react-native'
74+
run: yarn workspace ${{ env.WORKSPACE }} version --${{ env.VERSION }}
6775

6876
- name: Create Pull Request to Merge to
6977
uses: peter-evans/create-pull-request@v3

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3939

4040
- name: Publish
41+
working-directory: packages/core
4142
run: npm publish --tag beta --dry-run
4243

4344
create-github-release:

0 commit comments

Comments
 (0)