@tahminator/pipeline 1.0.78-beta.3ef6aac5 → 1.0.78-beta.cca83278

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,12 +67,7 @@ export class ArtifactKeeperProtobufCompilerBackend {
67
67
  writeFile(path.join(generatedDirectory, "Cargo.toml"), this.createCargoToml(options)),
68
68
  writeFile(path.join(generatedDirectory, "src", "lib.rs"), this.createRustLibrary(generatedFiles)),
69
69
  ]);
70
- await $.env({
71
- ...process.env,
72
- CARGO_REGISTRIES_CARGO_INDEX: this.cargoIndexUrl,
73
- CARGO_REGISTRIES_CARGO_TOKEN: this.config.token,
74
- CARGO_REGISTRIES_CARGO_CREDENTIAL_PROVIDER: "cargo:token",
75
- }) `cargo publish --registry cargo`.cwd(generatedDirectory);
70
+ await $ `cargo publish --registry cargo --token ${this.config.token} --config ${`registries.cargo.index=${this.cargoIndexUrl}`}`.cwd(generatedDirectory);
76
71
  }
77
72
  async moveJavaSources(generatedDirectory) {
78
73
  const sourceDirectory = path.join(generatedDirectory, "src", "main", "java");
@@ -238,6 +233,6 @@ prost = "${prostVersion}"
238
233
  return `${this.artifactKeeperUrl}/maven/maven/`;
239
234
  }
240
235
  get cargoIndexUrl() {
241
- return `sparse+${this.artifactKeeperUrl}/cargo/cargo/`;
236
+ return `${this.artifactKeeperUrl}/cargo/cargo/index`;
242
237
  }
243
238
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "author": "Tahmid Ahmed",
5
5
  "description": "A collection of Bun shell scripts that can be re-used in various CICD pipelines.",
6
- "version": "1.0.78-beta.3ef6aac5",
6
+ "version": "1.0.78-beta.cca83278",
7
7
  "repository": {
8
8
  "url": "git+https://github.com/tahminator/pipeline.git"
9
9
  },