mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 11:46:43 +01:00
853e3d5fff
When release, this workflow will be triggered to complete subsequent work. 1 Push harbor images to dockerhub. 2 Upload asset to release. 3 Generate release notes using the .github/release.yml template. Signed-off-by: Yang Jiao <jiaoya@vmware.com>
19 lines
996 B
Smarty
19 lines
996 B
Smarty
// publish release writes the following to release notes.
|
|
{"buildNo":"${buildNo}","preTag":"${preTag}"}
|
|
// buildNo is required,buildNo is used to specify the installer package.
|
|
// buildNo is found at https://github.com/goharbor/harbor/actions/workflows/build-package.yml
|
|
// preTag is not required, preTag is used to specify the previous tag, and generates release notes between previous tag and current tag. If preTag is not specified, previous tag will be automatically calculated.
|
|
|
|
// Example 1
|
|
// current tag:v2.5.0-rc1
|
|
{"buildNo":"build.1250","preTag":"v2.4.0"}
|
|
// Specify the installer package built by Build Package Workflow #1272 as release asset.
|
|
// Specify the previous tag as v2.4.0
|
|
|
|
// Example 2
|
|
// current tag:v2.5.0
|
|
{"buildNo":"rc1"}
|
|
// Specify the installer package of v2.5.0-rc1 as the release asset of v2.5.0.
|
|
// Unspecified preTag automatically calculates preTag for v2.4.0
|
|
|
|
// If the wrong buildNo is specified and the Workflow fails to run, please modify the buildNo and re run |