Skip to content

fix version information and the argument controlling it #14

fix version information and the argument controlling it

fix version information and the argument controlling it #14

Workflow file for this run

name: Tagging
on:
push:
branches:
- "main"
paths:
- "aws_console/**"
- "setup.py"
concurrency: tagging
jobs:
tag:
runs-on: ubuntu-latest
name: Auto Tagging
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Get package information
id: package_info
run: |
echo "version=$(./setup.py --version)" >> "$GITHUB_OUTPUT"
- name: Add git tag
run: |
git tag ${{ steps.package_info.outputs.version }} -f
git push origin ${{ steps.package_info.outputs.version }} -f