Skip to content

Commit f69c337

Browse files
author
Yuval Bendor
committed
preparation for 1.0.0 - CI changes
1 parent 2bace0a commit f69c337

File tree

6 files changed

+34
-5
lines changed

6 files changed

+34
-5
lines changed

.circleci/config.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,25 @@ jobs:
196196
command: |
197197
pip install --user twine
198198
for wheel in wheels/*.whl; do
199-
echo "Uploading $wheel...";
199+
echo "Uploading $wheel to Test PYPI...";
200200
python -m twine upload --skip-existing --verbose --repository testpypi -u ${TESTPYPI_USER} -p ${TESTPYPI_PASSWORD} "${wheel}"
201201
done
202202
203+
publish-to-pypi:
204+
docker:
205+
- image: cimg/python:3.10.7
206+
steps:
207+
- attach_workspace:
208+
at: .
209+
- run:
210+
name: Upload wheels to PyPI
211+
command: |
212+
pip install --user twine
213+
for wheel in wheels/*.whl; do
214+
echo "Uploading $wheel to PyPI...";
215+
python -m twine upload --skip-existing --verbose -u ${PRODPYPI_USER} -p ${PRODPYPI_PASSWORD} "${wheel}"
216+
done
217+
203218
workflows:
204219
unit-test-build-and-integration-test:
205220
jobs:
@@ -229,4 +244,12 @@ workflows:
229244
- integration-test-windows
230245
filters:
231246
branches:
232-
only: master
247+
only: master
248+
- publish-to-pypi:
249+
requires:
250+
- integration-test-linux
251+
- integration-test-macos
252+
- integration-test-windows
253+
filters:
254+
branches:
255+
only: production

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## [1.0.0] - 2022-12-20
3+
- Release Candidate for first public version
4+
25
## [0.6.4] - 2022-12-14
36
### Fixed
47
- Handle variable-length characters

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cvldoc_parser_core"
3-
version = "0.6.4"
3+
version = "1.0.0"
44
edition = "2021"
55

66
[dependencies]

src/python_wrapper/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## [1.0.0] - 2022-12-20
3+
- Release Candidate for first public version
4+
25
## [0.6.4] - 2022-12-14
36
### Fixed
47
- Bugfix in core

src/python_wrapper/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cvldoc_parser_py"
3-
version = "0.6.4"
3+
version = "1.0.0"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

src/python_wrapper/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "cvldoc_parser"
7-
version = "0.6.4"
7+
version = "1.0.0"
88
requires-python = ">=3.7"
99
classifiers = [
1010
"Programming Language :: Rust",

0 commit comments

Comments
 (0)