21 Commits

Author SHA1 Message Date
semantic-release
9a8f2b7fbf 0.2.4
All checks were successful
continuous-integration/drone/push Build is passing
Automatically generated by python-semantic-release
2022-02-25 07:14:18 +00:00
dbff716cdb fix: test pypi publish
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-25 10:13:27 +03:00
b8b355025d docs: remove old changelog
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-25 09:43:56 +03:00
8cd5c23cf4 ci: add pip cache
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-25 09:39:38 +03:00
semantic-release
16e21bf7a6 0.2.3
Some checks are pending
continuous-integration/drone/push Build is pending
Automatically generated by python-semantic-release
2022-02-25 06:35:37 +00:00
8a0d07aea0 fix: bump python-semantic-release
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-25 09:33:51 +03:00
semantic-release
bf008e7f9b 0.2.2
Some checks are pending
continuous-integration/drone/push Build is pending
Automatically generated by python-semantic-release
2022-02-24 08:02:08 +00:00
bf59490a32 fix: test fixed asset upload
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-24 11:00:47 +03:00
semantic-release
aa31ebd549 0.2.1
All checks were successful
continuous-integration/drone/push Build is passing
Automatically generated by python-semantic-release
2022-02-23 08:00:41 +00:00
5eb6a99114 fix: versioning
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-23 10:59:18 +03:00
semantic-release
850d7890d7 0.2.0
All checks were successful
continuous-integration/drone/push Build is passing
Automatically generated by python-semantic-release
2022-02-23 07:43:59 +00:00
553f9c0310 ci: GIT_SSL_NO_VERIFY
Some checks are pending
continuous-integration/drone/push Build is running
2022-02-23 10:42:57 +03:00
adac26c82d fix: disable check_build_status
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-23 10:34:22 +03:00
d8739a71a6 fix: another
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-23 10:16:31 +03:00
5366d1af93 fix: another test
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-23 10:15:12 +03:00
4c920b2717 fix: remove condition
Some checks failed
continuous-integration/drone/push Build was killed
2022-02-23 10:06:55 +03:00
99070b6ee4 fix: use refs
Some checks failed
continuous-integration/drone/push Build was killed
2022-02-23 10:04:40 +03:00
2fd72c199b fix: another test
Some checks failed
continuous-integration/drone/push Build was killed
2022-02-23 10:01:52 +03:00
f75c44cc1c fix: only publish on main
Some checks failed
continuous-integration/drone/push Build was killed
2022-02-22 16:17:22 +03:00
932bd0ff73 fix: drone publishing branch
Some checks failed
continuous-integration/drone/push Build was killed
2022-02-22 16:12:02 +03:00
b552d717d9 Merge pull request 'lum/poetry-test' (#3) from lum/poetry-test into main
Some checks failed
continuous-integration/drone/push Build was killed
Reviewed-on: #3
2022-02-22 13:09:02 +00:00
6 changed files with 82 additions and 44 deletions

View File

@@ -4,12 +4,12 @@
################
kind: pipeline
name: run_tests
name: default
type: docker
steps:
# Run tests against Python with pytest
- name: ci
- name: test
image: python:3.7.2
commands:
# Install dependencies
@@ -22,39 +22,39 @@ steps:
volumes:
- name: poetry_cache
path: /root/.cache/pypoetry
- name: pip_cache
path: /root/.cache/pip
- name: publish
image: python:3.7.2
commands:
# Install dependencies
- pip install poetry
- poetry install
- poetry run semantic-release publish
depends_on:
- test
when:
branch:
- main
environment:
LOGLEVEL: info
GIT_SSL_NO_VERIFY: 1
REPOSITORY_USERNAME: __token__
REPOSITORY_PASSWORD:
from_secret: pypi_token
GITEA_TOKEN:
from_secret: gitea_token
volumes:
- name: poetry_cache
path: /root/.cache/pypoetry
- name: pip_cache
path: /root/.cache/pip
volumes:
- name: poetry_cache
host:
path: /tmp/cache/drone/pypoetry
---
kind: pipeline
name: publish
type: docker
steps:
- name: cd
image: python:3.7.2
commands:
# Install dependencies
- pip install --no-cache-dir poetry
- poetry install
- poetry run semantic-release publish
environment:
LOGLEVEL: info
GITEA_TOKEN:
from_secret: gitea_token
volumes:
- name: poetry_cache
path: /root/.cache/pypoetry
when:
branch:
- master
event:
- push
depends_on:
- run_tests
volumes:
- name: poetry_cache
- name: pip_cache
host:
path: /tmp/cache/drone/pypoetry
path: /tmp/cache/drone/pip

View File

@@ -1,2 +0,0 @@
- 0.1.0
* Add wei converters

40
CHANGELOG.md Normal file
View File

@@ -0,0 +1,40 @@
# Changelog
<!--next-version-placeholder-->
## v0.2.4 (2022-02-25)
### Fix
* Test pypi publish ([`dbff716`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/dbff716cdbb15e2c59a750e726c22ec59eb57780))
### Documentation
* Remove old changelog ([`b8b3550`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/b8b355025d96f2e7adb9546ccf04755d0c359952))
## v0.2.3 (2022-02-25)
### Fix
* Bump python-semantic-release ([`8a0d07a`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/8a0d07aea00c0ced3318f7f3b25a9cfc6593954a))
## v0.2.2 (2022-02-24)
### Fix
* Test fixed asset upload ([`bf59490`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/bf59490a32cc9c0aa7e1c6257ab763551a0a5e5f))
## v0.2.1 (2022-02-23)
### Fix
* Versioning ([`5eb6a99`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/5eb6a99114867ee4ff72523922a13dc847b75196))
## v0.2.0 (2022-02-23)
### Feature
* **converters:** Add from_wei and to_wei ([`c044fb9`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/c044fb9c70b20ceff70613f5e35ab9d358545ee8))
### Fix
* Disable check_build_status ([`adac26c`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/adac26c82d82d5ea26609437e434acee65021623))
* Another ([`d8739a7`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/d8739a71a6aa5a33384208aa252ab772585b5365))
* Another test ([`5366d1a`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/5366d1af930d3f8889c884a3743cd9b187d05a01))
* Remove condition ([`4c920b2`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/4c920b27176502e0b6687e2eea51c9f2c4f0306f))
* Use refs ([`99070b6`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/99070b6ee47d5b2a2946f4fc6fe8abf4b9d47d64))
* Another test ([`2fd72c1`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/2fd72c199bb4118b1a6a4ed9deba780c2a0184ee))
* Only publish on main ([`f75c44c`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/f75c44cc1c8ed1e6678a165dcc03e86d90d41bbb))
* Drone publishing branch ([`932bd0f`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/932bd0ff73eb9074a22b1107484f50abf7bcbf9e))
* Clean up ([`e9c537e`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/e9c537e29e83d4b9d4a7f2fde8c91116312a38b7))
### Documentation
* Add ci status ([`50107b2`](https://git.grassecon.net/grassrootseconomics/cic-utils/commit/50107b205e2b652dc37dd5972cb66071eae91904))

View File

@@ -1 +1 @@
__version__ = "0.1.0"
__version__ = "0.2.4"

8
poetry.lock generated
View File

@@ -364,7 +364,7 @@ yaml = ["PyYaml (>=5.2)"]
[[package]]
name = "python-semantic-release"
version = "7.25.0"
version = "7.25.2"
description = "Automatic Semantic Versioning for Python projects"
category = "dev"
optional = false
@@ -608,7 +608,7 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-
[metadata]
lock-version = "1.1"
python-versions = "^3.7"
content-hash = "a516bec5ab9a060d29f6f3701a9325badff53bb4272e5f06334c5a0d7481fc4a"
content-hash = "be3577688cc07bf24a8b1f425882744d10d5b20e7931fd1f97438216a5265755"
[metadata.files]
atomicwrites = [
@@ -841,8 +841,8 @@ python-gitlab = [
{file = "python_gitlab-2.10.1-py3-none-any.whl", hash = "sha256:581a219759515513ea9399e936ed7137437cfb681f52d2641626685c492c999d"},
]
python-semantic-release = [
{file = "python-semantic-release-7.25.0.tar.gz", hash = "sha256:12cee174e0a5552772b69c243f028a3a97d33d3b56a9ff281570e2afdcf937b3"},
{file = "python_semantic_release-7.25.0-py3-none-any.whl", hash = "sha256:ed1a74fb7bd6bf9d9e3d1d2da6b5288ee910fe805e68b97f67b49ea3cc1717b8"},
{file = "python-semantic-release-7.25.2.tar.gz", hash = "sha256:134294d3ee02a3aa464bf3c00c7777b0c84c6b3332fe234e8b7a087cbf3866d2"},
{file = "python_semantic_release-7.25.2-py3-none-any.whl", hash = "sha256:8b21bf503486bf13db048501da60362f9ab5adb88435fa431186bcbf24d431ef"},
]
pywin32-ctypes = [
{file = "pywin32-ctypes-0.2.0.tar.gz", hash = "sha256:24ffc3b341d457d48e8922352130cf2644024a4ff09762a2261fd34c36ee5942"},

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "cic-utils"
version = "0.1.0"
version = "0.2.4"
description = ""
authors = ["William Luke <williamluke4@gmail.com>"]
license = "GPL-3.0-or-later"
@@ -13,7 +13,7 @@ python = "^3.7"
[tool.poetry.dev-dependencies]
pytest = "6.2.5"
pytest-cov = "2.10.1"
python-semantic-release = "^7.25.0"
python-semantic-release = "^7.25.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
@@ -26,14 +26,14 @@ testpaths = ["tests"]
[tool.semantic_release]
version_variable = [
"cic_utils/__init__.py:__version__",
"pyproject.toml:tool.poetry.version",
"pyproject.toml:version",
]
version_source = "commit"
branch = "main"
upload_to_pypi = false
upload_to_repository=true
upload_to_release = true
repository_url = "https://git.grassecon.net/grassrootseconomics/cic-utils"
build_command = "pip install poetry && poetry build"
hvcs="gitea"
hvcs_domain = "git.grassecon.net"
check_build_status=true
check_build_status=false