diff --git a/.github/workflows/create-bumb-version-pr.yml b/.github/workflows/create-bumb-version-pr.yml new file mode 100644 index 0000000..fd2c5aa --- /dev/null +++ b/.github/workflows/create-bumb-version-pr.yml @@ -0,0 +1,35 @@ +name: Create bump version PR + +on: + workflow_dispatch: + inputs: + version: + description: Version to change to (semver). + required: true + type: string + +jobs: + bump-version-pr: + name: Bump version PR + runs-on: ubuntu-latest + defaults: + run: + shell: bash + steps: + + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + ref: main + + - name: Use Node.js from nvmrc + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v7 + with: + commit-message: Bump version to ${{ inputs.version }} + branch: bump-version-to-${{ inputs.version }} + title: Bump version to ${{ inputs.version }} diff --git a/package-lock.json b/package-lock.json index 47b7c24..6abb77f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "vt-pbf", - "version": "4.0.0", + "name": "@maplibre/vt-pbf", + "version": "4.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "vt-pbf", - "version": "4.0.0", + "name": "@maplibre/vt-pbf", + "version": "4.0.1", "license": "MIT", "dependencies": { "@mapbox/point-geometry": "^1.1.0", diff --git a/package.json b/package.json index c249795..c79a85d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "vt-pbf", - "version": "4.0.0", + "name": "@maplibre/vt-pbf", + "version": "4.0.1", "description": "Serialize mapbox vector tiles to binary protobufs in javascript.", "main": "dist/index.es.js", "types": "dist/index.d.ts", @@ -17,7 +17,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/mapbox/vt-pbf.git" + "url": "git+https://github.com/maplibre/vt-pbf.git" }, "dependencies": { "@mapbox/point-geometry": "^1.1.0",