Git Product home page Git Product logo

tag-semver-tracking's Introduction

Semantic Versioning Tag Tracking

Keep major (v1) and minor (v1.1) tags current to the latest appropriate patch (v1.1.3) tag.

Usage

This action use itself to keep major and minor version refer to the latest patch. Check .github/workflows/build.yml for detailed example.

    - name: Tag Tracking
      uses: H4M5TER/tag-semver-tracking@v1
      with:
        tag: ${{ github.ref_name }}
        token: ${{ secrets.GITHUB_TOKEN }}

Inputs

tag required

Tag need to be synced. It should end with x.y.z format.

token required

GitHub Token. Just use ${{ secrets.GITHUB_TOKEN }}

More Context

GitHub suggested to maintain semver tag of action. In https://docs.github.com/en/actions/creating-actions/releasing-and-maintaining-actions.

We recommend creating releases using semantically versioned tags โ€“ for example, v1.1.3 โ€“ and keeping major (v1) and minor (v1.1) tags current to the latest appropriate commit. It also suggested to use Build and Tag action to auto commit and update tag.

But I prefer to use GitHub Pages Action so that I could put dist on a standalone branch and maybe contains more files. (I wanted to use source map but I can't send --enable-source-maps to node in action.yml.) This is why I made this.

tag-semver-tracking's People

Contributors

h4m5ter avatar

Watchers

 avatar

tag-semver-tracking's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.