Browse Source

:bug: Fix Release (#38)

* :bug: Fix Release

* :bug: Fix generated code
Gabriele Picco 1 year ago
parent
commit
dcb308856b
3 changed files with 2 additions and 23 deletions
  1. 0 18
      .github/workflows/publish-packages.yml
  2. 1 4
      cli/npm-package/package.json
  3. 1 1
      cli/src/rust_template.rs

+ 0 - 18
.github/workflows/publish-packages.yml

@@ -26,36 +26,18 @@ jobs:
             TOOLCHAIN: stable,
             TARGET: x86_64-unknown-linux-gnu,
           }
-          - {
-            NAME: linux-x64-musl,
-            OS: ubuntu-22.04,
-            TOOLCHAIN: stable,
-            TARGET: x86_64-unknown-linux-musl,
-          }
           - {
             NAME: linux-x86-glibc,
             OS: ubuntu-22.04,
             TOOLCHAIN: stable,
             TARGET: i686-unknown-linux-gnu,
           }
-          - {
-            NAME: linux-x86-musl,
-            OS: ubuntu-22.04,
-            TOOLCHAIN: stable,
-            TARGET: i686-unknown-linux-musl,
-          }
           - {
             NAME: linux-arm64-glibc,
             OS: ubuntu-20.04,
             TOOLCHAIN: stable,
             TARGET: aarch64-unknown-linux-gnu,
           }
-          - {
-            NAME: linux-arm64-musl,
-            OS: ubuntu-20.04,
-            TOOLCHAIN: stable,
-            TARGET: aarch64-unknown-linux-musl,
-          }
           - {
             NAME: win32-x64-msvc,
             OS: windows-2022,

+ 1 - 4
cli/npm-package/package.json

@@ -35,10 +35,7 @@
     "@magicblock-labs/bolt-cli-linux-x64": "0.1.2",
     "@magicblock-labs/bolt-cli-linux-arm64": "0.1.2",
     "@magicblock-labs/bolt-cli-windows-x86": "0.1.2",
-    "@magicblock-labs/bolt-cli-windows-x64": "0.1.2",
-    "@magicblock-labs/bolt-cli-linux-x64-musl": "0.1.2",
-    "@magicblock-labs/bolt-cli-linux-x86-musl": "0.1.2",
-    "@magicblock-labs/bolt-cli-linux-arm64-musl": "0.1.2"
+    "@magicblock-labs/bolt-cli-windows-x64": "0.1.2"
   },
   "publishConfig": {
     "access": "public"

+ 1 - 1
cli/src/rust_template.rs

@@ -12,7 +12,7 @@ use std::path::{Path, PathBuf};
 // Anchor CLI version
 // TODO: use the stable version once the new IDL standard is released
 pub const ANCHOR_CLI_VERSION: &str =
-    "{ git = { version = \"0.29.0\", \"https://github.com/coral-xyz/anchor.git\", rev = \"0f60909\" }";
+    "{ version = \"0.29.0\", git = \"https://github.com/coral-xyz/anchor.git\", rev = \"0f60909\" }";
 pub const TS_ANCHOR_VERSION: &str = "0.29.1";
 
 /// Create a component from the given name.