1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

chore: strip +main from package version (#8017)

This is not needed anymore as we are not publishing to npm from main.
This commit is contained in:
Gastón Fournier 2024-08-30 09:50:32 +02:00 committed by GitHub
parent d626defc93
commit 52e3ff03d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ jobs:
cache: 'yarn' cache: 'yarn'
- name: upgrade package version - name: upgrade package version
run: | run: |
jq --arg version "${{ github.event.inputs.version }}+main" '.version=$version' package.json > package.json.tmp jq --arg version "${{ github.event.inputs.version }}" '.version=$version' package.json > package.json.tmp
mv package.json.tmp package.json mv package.json.tmp package.json
- name: checkout changelog from ${{ github.ref_name }} - name: checkout changelog from ${{ github.ref_name }}
run: git checkout origin/${{ github.ref_name }} -- CHANGELOG.md run: git checkout origin/${{ github.ref_name }} -- CHANGELOG.md
@ -129,7 +129,7 @@ jobs:
- name: push changes - name: push changes
run: | run: |
git add package.json CHANGELOG.md git add package.json CHANGELOG.md
git commit -m "chore: bump version to ${{ github.event.inputs.version }}+main" git commit -m "chore: bump version to ${{ github.event.inputs.version }}"
git push origin main git push origin main
publish-docker: publish-docker:

View File

@ -1,7 +1,7 @@
{ {
"name": "unleash-server", "name": "unleash-server",
"description": "Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.", "description": "Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.",
"version": "6.1.12+main", "version": "6.1.12",
"keywords": [ "keywords": [
"unleash", "unleash",
"feature toggle", "feature toggle",