mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-23 05:21:57 +00:00
AddedAdded auto-tagging workflow
This commit is contained in:
25
.github/workflows/tagging.yml
vendored
Normal file
25
.github/workflows/tagging.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: Auto Version Tag
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- "invenio_config_iform/__about__.py"
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- "invenio_config_iform/__about__.py"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tag:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Version tag
|
||||||
|
uses: Jorricks/action-python-autotagging@1.0.1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
path: src/your_package/__about__.py # Path to your version file
|
||||||
|
variable: __version__ # Name of the version variable
|
||||||
Reference in New Issue
Block a user