release icon fix

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-03-21 10:11:04 +03:00
parent 239a2f0634
commit 72179dd204
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ stage ('predeploy') {
if (tag) { if (tag) {
echo 'found tag ' + tag echo 'found tag ' + tag
addBadge( addBadge(
icon: 'star-gold.png', icon: 'completed.gif',
text: "Release ${tag}") text: "Release ${tag}")
def tagNoV = tag.substring(1) def tagNoV = tag.substring(1)
sh "cd ${TARGET_FOLDER}; echo '${tagNoV}' > ${DEPLOY_VERSION_VAR}"; sh "cd ${TARGET_FOLDER}; echo '${tagNoV}' > ${DEPLOY_VERSION_VAR}";

View File

@ -6,7 +6,7 @@ stage ('publish') {
echo 'found tag ' + tag echo 'found tag ' + tag
sh "echo '${JEN_FILES_TMP_NAME}' >> .npmignore" sh "echo '${JEN_FILES_TMP_NAME}' >> .npmignore"
withNPM(npmrcConfig:'npm-cfg') { withNPM(npmrcConfig:'npm-cfg') {
echo "Performing npm build..." echo "Performing npm publish..."
sh 'npm publish --access public' sh 'npm publish --access public'
} }
} else { } else {