Skip to content

Commit d5f4be0

Browse files
committed
v1.5.4
1 parent d4d4ce5 commit d5f4be0

File tree

3 files changed

+41
-16
lines changed

3 files changed

+41
-16
lines changed

.github/workflows/release.yaml

+38-15
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,43 @@ on:
44
types:
55
- released
66
jobs:
7-
release-python2:
7+
# release-python2:
8+
# runs-on: ubuntu-20.04
9+
# steps:
10+
# - uses: actions/checkout@v2
11+
# - name: install python2 for ubuntu
12+
# run: sudo apt install python2
13+
# - name: get pip script for python2
14+
# run: curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
15+
# - name: install pip for python2
16+
# run: sudo python2 get-pip.py
17+
# - name: install requirements for python2
18+
# run: pip2 install -r requirements-2.txt
19+
# - name: package and upload python2
20+
# env:
21+
# TWINE_USERNAME: __token__
22+
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
23+
# PYTHON_DATEMATH_VERSION: ${{ github.event.release.tag_name }}
24+
# run: |
25+
# python2.7 setup.py sdist bdist_wheel
26+
# twine upload dist/*
27+
# release-python3:
28+
# runs-on: ubuntu-20.04
29+
# needs:
30+
# - release-python2
31+
# steps:
32+
# - uses: actions/checkout@v2
33+
# - name: install requirements for python3
34+
# run: pip3 install -r requirements-3.txt
35+
# - name: package and upload python3
36+
# env:
37+
# TWINE_USERNAME: __token__
38+
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
39+
# PYTHON_DATEMATH_VERSION: ${{ github.event.release.tag_name }}
40+
# run: |
41+
# python3 setup.py sdist bdist_wheel
42+
# twine upload dist/*
43+
release-to-pypi:
844
runs-on: ubuntu-20.04
945
steps:
1046
- uses: actions/checkout@v2
@@ -16,20 +52,6 @@ jobs:
1652
run: sudo python2 get-pip.py
1753
- name: install requirements for python2
1854
run: pip2 install -r requirements-2.txt
19-
- name: package and upload python2
20-
env:
21-
TWINE_USERNAME: __token__
22-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
23-
PYTHON_DATEMATH_VERSION: ${{ github.event.release.tag_name }}
24-
run: |
25-
python2.7 setup.py sdist bdist_wheel
26-
twine upload dist/*
27-
release-python3:
28-
runs-on: ubuntu-20.04
29-
needs:
30-
- release-python2
31-
steps:
32-
- uses: actions/checkout@v2
3355
- name: install requirements for python3
3456
run: pip3 install -r requirements-3.txt
3557
- name: package and upload python3
@@ -38,5 +60,6 @@ jobs:
3860
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
3961
PYTHON_DATEMATH_VERSION: ${{ github.event.release.tag_name }}
4062
run: |
63+
python2.7 setup.py sdist bdist_wheel
4164
python3 setup.py sdist bdist_wheel
4265
twine upload dist/*

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Changelog
2+
## 1.5.4 (2021-04-20)
3+
* skipped due to name conflict on pypi, all changes in this are from `1.5.3`
24

35
## 1.5.3 (2021-04-16)
46
* [FIX] [Issue #25](https://github.com/nickmaccarthy/python-datemath/issues/25) - Fixed an issue where if you provided an invalid timestamp, i.e. `datemath('2')` you would not get an DateMathException back. Also bumped dependencies.

VERSION.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.3
1+
1.5.4

0 commit comments

Comments
 (0)