strider-docker-build icon indicating copy to clipboard operation
strider-docker-build copied to clipboard

auto add tag:version (version+1)

Open caizx666 opened this issue 5 years ago • 1 comments

增加了给tag自动累加版本号功能,以便在部署时可以更新这个新版本的镜像

累加规则: 1、获取当前已有的tags, 2、排除latest版本,找到最大的tag末位自动加一,例如:2.0 => 2.1

caizx666 avatar Jan 07 '21 03:01 caizx666

translation:

Added the function of automatically accumulating the version number to the tag so that the new version of the image can be updated during deployment

Accumulation rules:

  1. Get the currently existing tags,
  2. Exclude the latest version, and automatically add one to the end of the largest tag, for example: 2.0 => 2.1

knownasilya avatar Jan 07 '21 15:01 knownasilya