Skip to content

Commit 0a87c46

Browse files
committed
esp/ci: Switch to manual GH release creation
1 parent 393238e commit 0a87c46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ release_tag_draft:
119119
<<: *release_tag_filter
120120
<<: *release_submit_action
121121
script:
122-
- hub release delete ${GH_REL_TAG} || true
123-
# release draft
124-
- hub release create --draft -m "${RELEASE_DESC}" ${GH_REL_TAG}
122+
- git remote remove github || true
123+
- git remote add github ${GH_REPO_HTTPS}
124+
- hub release show ${GH_REL_TAG} || { echo "Please create a release on GitHub with ${GH_REL_TAG} tag at first"; exit 1; }
125125
# List of archives
126126
- DIST_DIR=dist
127127
- FILES=$(find ${DIST_DIR} -name dist_name_\* -exec cat {} \+)

0 commit comments

Comments
 (0)