mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-03 20:56:06 +08:00
add pull_requrest types merged
Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
@@ -9,6 +9,8 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- 'release-harvester-v*'
|
- 'release-harvester-v*'
|
||||||
|
types:
|
||||||
|
- merged
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-validation:
|
build-validation:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ yarn --pure-lockfile install
|
|||||||
source scripts/version
|
source scripts/version
|
||||||
|
|
||||||
if [[ $COMMIT_BRANCH == "main" ]]; then
|
if [[ $COMMIT_BRANCH == "main" ]]; then
|
||||||
VERSION="test-release"
|
VERSION="latest"
|
||||||
else
|
else
|
||||||
VERSION=$COMMIT_BRANCH
|
VERSION=$COMMIT_BRANCH
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user