Skip to content

Commit

Permalink
1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
leo91000 committed Dec 30, 2021
1 parent 3b726c0 commit f653938
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 20 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/CI-WASM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,15 @@ jobs:
- name: Publish
run: |
cd crates/wasm
export VERSION=$(git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$")
export NEXT_VERSION=$(it log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+")
if $VERSION;
if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
sed -i 's/TO_BE_DEFINED/$VERSION/g' package.json
sed -i 's/TO_BE_DEFINED/$(git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$")/g' package.json
npm publish --access public
elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
sed -i 's/TO_BE_DEFINED/$NEXT_VERSION/g' package.json
sed -i 's/TO_BE_DEFINED/$(it log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+")/g' package.json
npm publish --tag next --access public
else
echo "Not a release, skipping publish"
Expand Down
2 changes: 1 addition & 1 deletion npm/android-arm-eabi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-android-arm-eabi",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"android"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/android-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-android-arm64",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"android"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-darwin-arm64",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-darwin-x64",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/freebsd-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-freebsd-x64",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"freebsd"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm-gnueabihf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-linux-arm-gnueabihf",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-linux-arm64-gnu",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-linux-arm64-musl",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-linux-x64-gnu",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-linux-x64-musl",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-arm64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-win32-arm64-msvc",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-ia32-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-win32-ia32-msvc",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum-win32-x64-msvc",
"version": "1.0.6",
"version": "1.1.2",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leo91000/subset-sum",
"version": "1.1.1",
"version": "1.1.2",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down

0 comments on commit f653938

Please sign in to comment.