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:
parent
d626defc93
commit
52e3ff03d2
4
.github/workflows/publish-new-version.yaml
vendored
4
.github/workflows/publish-new-version.yaml
vendored
@ -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:
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user