Skip to content

Commit

Permalink
Remove automatic version setter
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-moreno committed Dec 6, 2020
1 parent 39aef9a commit c447ef7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
- name: Check release tag
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
sed -i -- "s/<RELEASE_VERSION>/$RELEASE_VERSION/g" setup.py
- name: Set up Python
uses: actions/setup-python@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name='python-aemet',
version='<RELEASE_VERSION>',
version='0.3.4',
description=description,
long_description=long_description,
url='https://github.com/pablo-moreno/python-aemet',
Expand Down

0 comments on commit c447ef7

Please sign in to comment.