Skip to content

GitHub Action to add/create major tags for any repository according to its minor tags

Notifications You must be signed in to change notification settings

sayyid5416/major-tags

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

GitHub Action to add/update the major tags for any repository based on its minor tags

  • Like if you have a release/tag with tag v2.3.5
  • It could be accessed by major version tag @v2
  • All future releases/tags with @2.*.* could be accessed by @v2
  • You can also access the specific releases/tags by full tag like @v2.3.5

Example usage

name: Update Major Version

on:
  release:
    types:
      - released                        # When new version of your action is released
  workflow_dispatch:                    # To run manually on any tag

jobs:
  update-major-version:
    runs-on: ubuntu-latest
    steps:
      - name: Update major version
        uses: sayyid5416/major-tags@v1

About

GitHub Action to add/create major tags for any repository according to its minor tags

Topics

Resources

Stars

Watchers

Forks

Languages