Skip to content

Conversation

caizx666
Copy link
Contributor

@caizx666 caizx666 commented Jan 7, 2021

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

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

@knownasilya
Copy link
Member

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

"scripts": {
"lint": "eslint *.js lib",
"test": "npm run lint"
"test": "cross-env DEBUG=strider-docker-build:*,-not_this mocha"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can ,-not_this be removed?

done
);
});
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the addition of this test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants