up
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jérémi N ‘EndMove’ 2023-06-28 13:22:55 +02:00
parent b130a9a96e
commit 22e622e7fa
Signed by: EndMove
GPG Key ID: 65C4A02E1F5371A4
2 changed files with 15 additions and 4 deletions

View File

@ -49,10 +49,22 @@ steps:
CHANGE: ${CHANGE}
commands:
- git fetch --tags
- OLD_VERSION=$(cat VERSION 2>/dev/null) || echo "1.0.0"
- echo $CHANGE
- npm ci
- echo $CHANGE
- npm version $CHANGE
- git push --set-upstream origin `git name-rev --name-only HEAD`
- export VERSION=$(node -p "require('./package.json').version") || echo "1.0.0"
- echo $VERSION
- npm publish
# - npm dist-tag add @ioprojects/eslint-config@$SNAPSHOT snapshot
- name: gitea-release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.endmove.eu
title: Release ${VERSION}
notes: 'See the commits diff for more informations'
checksum:
- md5
- sha1
- sha256

View File

@ -1 +0,0 @@
1.0.0