Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Bump version from 0.20.0 to 0.20.1 #59

Bump version from 0.20.0 to 0.20.1

Bump version from 0.20.0 to 0.20.1 #59

Workflow file for this run

name: "Release"
on:
workflow_dispatch:
push:
branches: [ main ]
tags-ignore:
- 'v*'
paths:
- flox/version
env:
VERSION_FILE: './flox/version'
jobs:
release:
if: ${{ github.ref == 'refs/heads/main' }}
name: "Build"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Get version
id: version
run: |
read -r version<${{env.VERSION_FILE}}
echo "::set-output name=VERSION::$version"
- name: Publish
uses: softprops/action-gh-release@v1
with:
draft: false
tag_name: "v${{steps.version.outputs.VERSION}}"
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish:
needs: release
uses: ./.github/workflows/python-publish.yml
secrets:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN}}