diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index ae2519d..de66550 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: Deploy +name: CreateVersion run-name: ${{ gitea.actor }} build image and push to container registry on: @@ -9,10 +9,8 @@ on: - 'dev' jobs: - Publish: + BumpVersion: runs-on: ["skeris"] - conainer: - image: gitea.pena:3000/penadevops/container-images/node-compose:main steps: - name: Check out repository code uses: http://gitea.pena:3000/PenaDevops/actions.git/checkout@v1 @@ -23,12 +21,13 @@ jobs: npm config set @frontend:registry=http://gitea.pena/api/packages/skeris/npm/ npm config set registry=https://registry.npmjs.org/ npm config set -- '//gitea.pena/api/packages/skeris/npm/:_authToken' "1856e802057f59193ca6fdb4068cbea44982bcc2" - npm install --force if [ "${{ github.ref }}" == "refs/heads/main" ]; then - npm version major --no-git-tag-version + npm version major elif [ "${{ github.ref }}" == "refs/heads/staging" ]; then - npm version minor --no-git-tag-version + npm version minor else - npm version patch --no-git-tag-version + npm version patch fi - npm publish \ No newline at end of file + npm install --force + git push --follow-tags + npm publish diff --git a/package-lock.json b/package-lock.json index 892a111..46069f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@frontend/kitui", - "version": "1.0.88", + "version": "1.0.107", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@frontend/kitui", - "version": "1.0.88", + "version": "1.0.107", "license": "MIT", "dependencies": { "immer": "^10.0.2", diff --git a/package.json b/package.json index 0f78d3f..345c833 100644 --- a/package.json +++ b/package.json @@ -69,4 +69,4 @@ "zustand": "^4.3.8" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 174aa46..fe2fa14 100644 --- a/yarn.lock +++ b/yarn.lock @@ -607,6 +607,11 @@ resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.32.0.tgz" integrity sha512-VDzNHtLLI5s7xd/VubyS10mq6TxvZBp+4NRWoW+Hi3tgV05RtVm4qK99+dClwTN1McA6PHwob6DEJ6PlXbY83A== +"@rollup/rollup-linux-x64-musl@4.32.0": + version "4.32.0" + resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.32.0.tgz" + integrity sha512-qcb9qYDlkxz9DxJo7SDhWxTWV1gFuwznjbTiov289pASxlfGbaOD54mgbs9+z94VwrXtKTu+2RqwlSTbiOqxGg== + "@rushstack/node-core-library@3.59.7": version "3.59.7" resolved "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-3.59.7.tgz"