From a1a08b68182247462fc9ca315ce2c4019230e103 Mon Sep 17 00:00:00 2001 From: mrbuche Date: Thu, 13 Oct 2022 13:30:49 -0600 Subject: [PATCH] increment version --- .github/workflows/package.yml | 8 +++----- ufjc/__init__.py | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index d4d5b11..44f45cc 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -3,8 +3,6 @@ on: push: tags: - '*' -env: - REPO_NAME: ${{ github.event.repository.name }} jobs: get-version: runs-on: ubuntu-20.04 @@ -12,7 +10,7 @@ jobs: - 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 }} @@ -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: diff --git a/ufjc/__init__.py b/ufjc/__init__.py index 37c1d50..2139631 100644 --- a/ufjc/__init__.py +++ b/ufjc/__init__.py @@ -1,4 +1,4 @@ from .core import * from .swfjc import * -__version__ = "1.3.1" +__version__ = "1.3.3"