15 Commits

Author SHA1 Message Date
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
5 changed files with 60 additions and 41 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
@@ -23,38 +23,28 @@ steps:
- name: poetry_cache
path: /root/.cache/pypoetry
- 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
GITEA_TOKEN:
from_secret: gitea_token
volumes:
- name: poetry_cache
path: /root/.cache/pypoetry
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
host:
path: /tmp/cache/drone/pypoetry

29
CHANGELOG.md Normal file
View File

@@ -0,0 +1,29 @@
# Changelog
<!--next-version-placeholder-->
## 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.2"

6
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.1"
description = "Automatic Semantic Versioning for Python projects"
category = "dev"
optional = false
@@ -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.1.tar.gz", hash = "sha256:d786a0d45de363fc28b2ee19cc2f9f618ba5291c90eeff896e56dd652432129e"},
{file = "python_semantic_release-7.25.1-py3-none-any.whl", hash = "sha256:79626f689a8bda1d08aa5e526cf2bed8d7507b7b3d8f7d7225c7567c664dca6a"},
]
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.2"
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.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
@@ -26,7 +26,7 @@ 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"
@@ -36,4 +36,4 @@ 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