Skip to content

Commit

Permalink
Fix release checksum (#251)
Browse files Browse the repository at this point in the history
* fix checksum calculation for release files

* update package.json version
  • Loading branch information
dmitryk-dk authored Jan 20, 2025
1 parent bef34c0 commit f39bb7c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## tip

* BUGFIX: fix checksum calculation for release files.

## v0.11.0

* FEATURE: include request url in the `got unexpected response status code` error message for troubleshooting.
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ vm-plugin-pack: vm-plugin-build
tar -czf ../dist/$(PACKAGE_NAME).tar.gz ./$(PLUGIN_ID) && \
zip -q -r ../dist/$(PACKAGE_NAME).zip ./$(PLUGIN_ID) && \
cd - && \
sha256sum dist/$(PACKAGE_NAME).zip > dist/$(PACKAGE_NAME)_checksums_zip.txt && \
sha256sum dist/$(PACKAGE_NAME).tar.gz > dist/$(PACKAGE_NAME)_checksums_tar.gz.txt
sha1sum dist/$(PACKAGE_NAME).zip > dist/$(PACKAGE_NAME)_checksums_zip.txt && \
sha1sum dist/$(PACKAGE_NAME).tar.gz > dist/$(PACKAGE_NAME)_checksums_tar.gz.txt

vm-plugin-cleanup:
rm -rf ./victoriametrics-datasource plugins
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "victoriametrics-datasource",
"version": "0.11.0",
"version": "0.11.1",
"description": "Showcase how to build a basic datasource plugin",
"scripts": {
"build": "TS_NODE_PROJECT=\"./.config/webpack/tsconfig.webpack.json\" webpack -c ./webpack.config.ts --env production",
Expand Down

0 comments on commit f39bb7c

Please sign in to comment.