Skip to content

Conversation

@gigony
Copy link
Collaborator

@gigony gigony commented Sep 9, 2021

  • Introduce bump2version for version management.
  • Use build for building a package. : ./run build
  • Added ./run clean implementation

bump2version

Executes bump2version(https://github.com/c4urself/bump2version).
bump2version package would be installed if not available.

  • major : a non-negative integer
  • minor : a non-negative integer
  • patch : a non-negative integer
  • release : "a", "b" or "rc"
  • build : a positive integer
  e.g.)
    0.1.0a1
      major   : 0
      minor   : 1
      patch   : 0
      release : a
      build   : 1

Examples (assume that current latest tag is 0.1.0a1)

  ./run bump_version build    # 0.1.0a1 -> 0.1.0a2
  ./run bump_version release  # 0.1.0a1 -> 0.1.0b1
  ./run bump_version patch    # 0.1.0a1 -> 0.1.1
  ./run bump_version minor    # 0.1.0a1 -> 0.2.0

@gigony gigony added the architectural story Work related to architecture label Sep 9, 2021
@gigony gigony added this to the v0.1.0 milestone Sep 9, 2021
@gigony gigony self-assigned this Sep 9, 2021
@gigony gigony force-pushed the update_build_script branch from c604386 to e396e85 Compare September 9, 2021 08:18
@gigony gigony merged commit d3c1e62 into main Sep 9, 2021
@gigony gigony deleted the update_build_script branch September 9, 2021 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architectural story Work related to architecture

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants