Skip to content

Commit 3aeffbf

Browse files
committed
Closes UNB-2029 by updating workflow to only run on tag creation. Bumped version to 0.1.1 as well.
1 parent 356ce89 commit 3aeffbf

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: publish
22

3-
on: push
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
48

59
jobs:
610
build-n-publish:
@@ -23,12 +27,6 @@ jobs:
2327
run: >-
2428
python -m build --sdist --wheel --outdir dist/ .
2529
# ======================
26-
- name: Publish distribution 📦 to Test PyPI
27-
uses: pypa/gh-action-pypi-publish@master
28-
with:
29-
user: __token__
30-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
31-
repository_url: https://test.pypi.org/legacy/
3230
- name: Publish distribution 📦 to PyPI
3331
if: startsWith(github.ref, 'refs/tags')
3432
uses: pypa/gh-action-pypi-publish@master

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [0.1.1] - 2022-05-22
99

1010
### Added
1111

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Unbox AI | Python API Library
66

7-
[![PyPI Latest Release](https://img.shields.io/pypi/v/unboxapi.svg)](https://pypi.org/project/Unbox/)
7+
[![PyPI Latest Release](https://img.shields.io/pypi/v/unboxapi.svg)](https://pypi.org/project/unboxapi/)
88
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
99
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
1010

unboxapi/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Define the SDK version here so that the interal package can have access to this value.
22
# See https://stackoverflow.com/questions/2058802
3-
__version__ = "0.1.0"
3+
__version__ = "0.1.1"

0 commit comments

Comments
 (0)