Git Product home page Git Product logo

Comments (6)

lovyan03 avatar lovyan03 commented on August 18, 2024

I have adopted and committed to the proposal.
Thank you!

from lovyangfx.

tobozo avatar tobozo commented on August 18, 2024

great 👍

Please note that the version number must be increased on the master branch after every release, not before.

Benefits for developers:

  • no more version confusion between the latest release and the master/develop branches
  • optional ability to add "-develop" or "-master" or other branch name suffixes

For example, just after releasing 0.2.5 the next commit message should be "raising version":

  • library.properties -> 0.2.6
  • library.json -> 0.2.6
  • gitTagVersion.h -> 0.2.6

from lovyangfx.

tobozo avatar tobozo commented on August 18, 2024

I have automated the process on my repository.

The result is this pull request received after producing the 1.0.2 release:

tobozo/M5Stack-SD-Updater#151

Let me know if you're interested in using this.

from lovyangfx.

lovyan03 avatar lovyan03 commented on August 18, 2024

@tobozo
Thanks!
I'm interested. I would like to consider that approach.

from lovyangfx.

tobozo avatar tobozo commented on August 18, 2024

You will need to copy those two files into your .github folder, no editing is required, just keep the same path:

After a release is published, this workflow will make a pull request with the modified version files.

This workflow will increase the "patch" version number ( 1.0.1 => 1.0.2 ) by default.

"Major" and "Minor" version numbers can only be increased manually by using "Run workflow" from github action.

It may be wise to try that on a private repository first in order to get familiar with the manual override.

Forcing any version to "1.4.6"
image

Default setting (increase "patch" version number level)
image

from lovyangfx.

lovyan03 avatar lovyan03 commented on August 18, 2024

Thanks for the explanation !
I have created the necessary files.
I will make sure it works on the next release.

from lovyangfx.

Related Issues (20)

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.