Skip to content

Commit

Permalink
Bump to v2.1.5-pre.1 - Publish empty postinstall.js file (#994)
Browse files Browse the repository at this point in the history
  • Loading branch information
wipfli authored Feb 12, 2022
1 parent ba44cbc commit bb21d11
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
npm run build-benchmarks
npm run generate-typings
- name: Empty postinstall.js
run: |
echo "// empty in published package" > postinstall.js
- name: Create Archive
run: |
zip -r dist dist
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@

- *...Add new stuff here...*

## 2.1.4
## 2.1.5-pre.1

### 🐞 Bug fixes

- Publish empty `postinstall.js` file. Follow-up on (#990), (#991), (#992).

## 2.1.4

### 🐞 Bug fixes

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "maplibre-gl",
"description": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library",
"version": "2.1.4",
"version": "2.1.5-pre.1",
"main": "dist/maplibre-gl.js",
"style": "dist/maplibre-gl.css",
"license": "BSD-3-Clause",
Expand Down
4 changes: 1 addition & 3 deletions postinstall.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import {execSync} from 'child_process';

if (process.env.NODE_ENV !== 'production') {
execSync('npm run codegen && npm run generate-query-test-fixtures && husky install');
}
execSync('npm run codegen && npm run generate-query-test-fixtures && husky install');

0 comments on commit bb21d11

Please sign in to comment.