Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbuche committed Oct 13, 2022
1 parent cc9028e commit a1a08b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@ on:
push:
tags:
- '*'
env:
REPO_NAME: ${{ github.event.repository.name }}
jobs:
get-version:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- id: version
run: |
export VERSION=$(grep version setup.py | cut -f2 -d "'")
export VERSION=$(grep __version__ statmechcrack/__init__.py | cut -f2 -d '"')
echo "::set-output name=VERSION::${VERSION}"
outputs:
VERSION: ${{ steps.version.outputs.VERSION }}
Expand Down Expand Up @@ -113,8 +111,8 @@ jobs:
with:
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest
${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:${{ needs.get-version.outputs.VERSION }}
${{ secrets.DOCKERHUB_USERNAME }}/ufjc:latest
${{ secrets.DOCKERHUB_USERNAME }}/ufjc:${{ needs.get-version.outputs.VERSION }}
- name: Give upload time before downloading
run: sleep 234s
test-docker:
Expand Down
2 changes: 1 addition & 1 deletion ufjc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .core import *
from .swfjc import *

__version__ = "1.3.1"
__version__ = "1.3.3"

0 comments on commit a1a08b6

Please sign in to comment.