rollback and bump version

This commit is contained in:
pavletto 2025-05-05 12:02:07 +04:00
parent 965631680d
commit 29010b1d2c
3 changed files with 3 additions and 55 deletions

View File

@ -1,52 +0,0 @@
name: Draft release
run-name: Draft release ${{ inputs.next_version }}
on:
workflow_dispatch:
inputs:
next_version:
required: true
type: string
description: 'Version name'
permissions:
contents: write
jobs:
draft_release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: 'develop'
ssh-key: ${{ secrets.DEPLOY_KEY }}
- name: Configure git
run: |
git config --local user.email "github-actions@github.com"
git config --local user.name "GitHub Actions"
- name: Bump version
run: npm version --no-git-tag-version --no-commit-hooks ${{ inputs.next_version }}
- name: Commit changes
run: |
git add .
git commit -m "chore: release ${{ inputs.next_version }}"
git push
- name: Merge develop into main
run: |
git checkout main
git pull
git merge origin/develop
git push
- name: Draft release
run: gh release create $VERSION --generate-notes --draft
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ inputs.next_version }}

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@openglobus/og",
"version": "0.25.5",
"version": "0.25.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@openglobus/og",
"version": "0.25.5",
"version": "0.25.6",
"license": "MIT",
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",

View File

@ -1,6 +1,6 @@
{
"name": "@openglobus/og",
"version": "0.25.5",
"version": "0.25.6",
"description": "[openglobus](https://www.openglobus.org/) is a javascript/typescript library designed to display interactive 3d maps and planets with map tiles, imagery and vector data, markers, and 3D objects. It uses the WebGL technology, open source, and completely free.",
"main": "lib/og.es.js",
"types": "lib/index.d.ts",