From 71013e38ceac355b765bf2a28e9ad87bd4c4bdd0 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Fri, 25 Jun 2021 17:18:35 -0400 Subject: [PATCH] bump to v1.6.0.post5 - another try --- .github/workflows/release_and_publish.yml | 15 +++++++++------ spaghetti/__init__.py | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release_and_publish.yml b/.github/workflows/release_and_publish.yml index 2d389b57..71671170 100644 --- a/.github/workflows/release_and_publish.yml +++ b/.github/workflows/release_and_publish.yml @@ -13,18 +13,18 @@ on: jobs: build: - name: create release & publish to PyPI + name: Create release & publish to PyPI runs-on: ubuntu-latest steps: - - name: checkout repo + - name: Checkout repo uses: actions/checkout@v2 - - name: set up python + - name: Set up python uses: actions/setup-python@v2 with: python-version: '3.x' - - name: install dependencies + - name: Install Dependencies run: | python -m pip install --upgrade pip pip install setuptools wheel twine jupyter urllib3 pandas pyyaml @@ -42,12 +42,15 @@ jobs: env: TEXT: ${{ steps.changetxt.outputs.text }} + - name: Get the tag name + run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV + - name: Release uses: softprops/action-gh-release@v1 with: body: ${{ steps.changetxt.outputs.text }} body_path: ${{ steps.changetxt.outputs.path }} - name: Release ${{ github.GITHUB_REF }} + name: Release ${{ env.TAG }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -83,7 +86,7 @@ jobs: # asset_name: ${{ env.name }} # asset_content_type: application/zip - - name: publish distribution 📦 to PyPI + - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@master with: user: __token__ diff --git a/spaghetti/__init__.py b/spaghetti/__init__.py index ff514b4f..56c39753 100644 --- a/spaghetti/__init__.py +++ b/spaghetti/__init__.py @@ -1,4 +1,4 @@ -__version__ = "1.6.0.post2" +__version__ = "1.6.0.post5" """ # `spaghetti` --- Spatial Graphs: Networks, Topology, & Inference