Skip to content

Commit bbec31b

Browse files
authored
Release 4.0.1 (#2)
* Create release * Use proper namespace * Add bump-version workflow * Update package-lock.json * Remove unused changelog script
1 parent 7cf5673 commit bbec31b

File tree

3 files changed

+42
-7
lines changed

3 files changed

+42
-7
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Create bump version PR
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: Version to change to (semver).
8+
required: true
9+
type: string
10+
11+
jobs:
12+
bump-version-pr:
13+
name: Bump version PR
14+
runs-on: ubuntu-latest
15+
defaults:
16+
run:
17+
shell: bash
18+
steps:
19+
20+
- uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
ref: main
24+
25+
- name: Use Node.js from nvmrc
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version-file: '.nvmrc'
29+
30+
- name: Create Pull Request
31+
uses: peter-evans/create-pull-request@v7
32+
with:
33+
commit-message: Bump version to ${{ inputs.version }}
34+
branch: bump-version-to-${{ inputs.version }}
35+
title: Bump version to ${{ inputs.version }}

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "vt-pbf",
3-
"version": "4.0.0",
2+
"name": "@maplibre/vt-pbf",
3+
"version": "4.0.1",
44
"description": "Serialize mapbox vector tiles to binary protobufs in javascript.",
55
"main": "dist/index.es.js",
66
"types": "dist/index.d.ts",
@@ -17,7 +17,7 @@
1717
"license": "MIT",
1818
"repository": {
1919
"type": "git",
20-
"url": "git+https://github.com/mapbox/vt-pbf.git"
20+
"url": "git+https://github.com/maplibre/vt-pbf.git"
2121
},
2222
"dependencies": {
2323
"@mapbox/point-geometry": "^1.1.0",

0 commit comments

Comments
 (0)