Skip to content

Commit 5995d5d

Browse files
authored
feat(core): fixed core version (#87)
Signed-off-by: Ujjwal Kumar <[email protected]>
1 parent 335f1ac commit 5995d5d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,23 @@ jobs:
3939
run: tox
4040

4141
- name: Install release dependencies
42-
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.8'
42+
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.9'
4343
run: |
44-
pip install bumpversion build twine
44+
pip install bump-my-version build twine
4545
sudo npm install -g semantic-release \
4646
@semantic-release/changelog \
4747
@semantic-release/exec \
4848
@semantic-release/git \
4949
@semantic-release/github
5050
5151
- name: Configure Git User
52-
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.8'
52+
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.9'
5353
run: |
5454
git config --global user.name "uibm"
5555
git config --global user.email "[email protected]"
5656
5757
- name: Semantic Release and Publish
58-
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.8'
58+
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.9'
5959
env:
6060
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161
GH_TOKEN: ${{ secrets.GH_TOKEN }}

.releaserc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[
88
"@semantic-release/exec",
99
{
10-
"prepareCmd": "bumpversion --config-file pyproject.toml --allow-dirty --new-version ${nextRelease.version} patch"
10+
"prepareCmd": "bump-my-version bump --allow-dirty --current-version ${lastRelease.version} --new-version ${nextRelease.version} patch"
1111
}
1212
],
1313
[

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ classifiers = [
2727
]
2828
keywords=["ibm", "cloud", "ibm cloud services", "vpc" ]
2929
dependencies = [
30-
"ibm_cloud_sdk_core>=3.22.0,<3.22.1;python_version<'3.9'",
30+
"ibm_cloud_sdk_core>=3.22.0,<3.23.0;python_version<'3.9'",
3131
"ibm_cloud_sdk_core>=3.23.0;python_version>='3.9'",
3232
"python_dateutil>=2.5.3,<3.0.0",
3333
]

0 commit comments

Comments
 (0)