Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update npm release process #1317

Merged
merged 1 commit into from
Feb 24, 2022
Merged

update npm release process #1317

merged 1 commit into from
Feb 24, 2022

Conversation

gavinr
Copy link
Contributor

@gavinr gavinr commented Feb 23, 2022

In today's builds, siteData.json is still not getting published to npm.

This is because we have an issue with our release process: right now, release.sh generates the dist files on line 8 when npm test runs. Then later when npm publish runs, npm prepare runs as part of that, which runs npm run build, re-building the dist files. I think this is unnecessary and causing siteData.json to not be included in the npm release.

So, this PR changes it so that when publishing, do not use "prepare" script to re-build the dist files, just use the files that are there from earlier in release.sh when it ran npm test.

when publishing, do not use "prepare" script to re-build the dist files, just use the files that are there from earlier in release.sh
@patrickarlt
Copy link
Contributor

LGTM! Does siteData.json also get included in the GitHub release?

@gavinr
Copy link
Contributor Author

gavinr commented Feb 24, 2022

Yes, it is in the GitHub release.

@gavinr gavinr merged commit b318b5f into master Feb 24, 2022
@gavinr gavinr deleted the release-process branch February 24, 2022 16:58
gavinr pushed a commit to Esri/esri-leaflet-cluster that referenced this pull request Feb 25, 2022
gavinr pushed a commit to gavinr/esri-leaflet-geocoder that referenced this pull request Feb 28, 2022
jgravois pushed a commit to jgravois/esri-leaflet that referenced this pull request Apr 23, 2022
jgravois pushed a commit to jgravois/esri-leaflet that referenced this pull request Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants