1.1.25 • Published 4 years ago

@stolen_orange/versioning v1.1.25

Weekly downloads
63
License
ISC
Repository
-
Last release
4 years ago

Package allows to update package.json version during GitLab merging process. It uses MR labels as tips for version update.

version-cli [command] [flags] - is the cli usage template


#####Commands:

up - writes a new version into package.json. Use it to update version.

  • Determines latest project version tagged in git and, if it's greater than current package.json version, uses it as the base for the update.
  • If the last tagged version is lower than package.json one or equals to it, uses package.json version as the base for the update.
  • If none tagged version is found uses package.json version as the base one.

######no flags

confirm - commits new version.

######flags:

  • --git-push - using to push new commits and tags;
  • --git-tag - using to set git tag for the new version;

*To allow runner to perform git operations you need to preset GIT_PRIVATE_TOKEN GitLab custom environment variable


#####Allowed MR labels:

Use patch, minor or major labels, depending of what part of project version you need to update.

1.1.25

4 years ago

1.1.24

4 years ago

1.1.23

4 years ago

1.1.22

4 years ago

1.1.21

5 years ago

1.1.20

5 years ago

1.1.19

5 years ago

1.1.18

5 years ago

1.1.16

5 years ago

1.1.15

5 years ago

1.1.14

5 years ago

1.1.13

5 years ago

1.1.12

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.9-0

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.5-0

5 years ago

1.1.4

5 years ago

1.1.4-0

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago