Skip to content

Commit

Permalink
0.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ahqsoftwares committed Sep 1, 2024
1 parent 57e19de commit c87074b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "ahqstore_cli_rs"
version = "0.5.3"
version = "0.5.4"
description = "AHQ Store CLI"
repository = "https://github.com/ahqstore/cli"
homepage = "https://github.com/ahqstore/cli"
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Read more about it [here](https://ahqstore.github.io)

# Changelog

## 0.5.4 01-Sep-2024 10:07PM IST

- **[CRITICAL]** Fixes invalid config files being generated

## 0.5.1 23-Aug-2024 10:09PM IST

- Fix NPM Publish error
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": "@ahqstore/cli",
"version": "0.5.3",
"version": "0.5.4",
"readme": "./README.md",
"napi": {
"name": "cli",
Expand Down
5 changes: 2 additions & 3 deletions src/app/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,17 +197,16 @@ pub fn build_config(upload: bool, gh_action: bool) {
// }

let config_file = to_string_pretty(&final_config).unwrap();
let config_file = to_string(config_file.as_bytes()).unwrap();

if !gh_action {
println!("Bytes: ahqstore.json");
println!("{} {}.json", &*INFO, &app_id);
println!("{}", &config_file);
}

if upload {
let uup = gh_r
.upload_url
.replace("{?name,label}", &format!("?name={app_id}.txt"));
.replace("{?name,label}", &format!("?name={app_id}.json"));

let resp = CLIENT
.post(uup)
Expand Down

0 comments on commit c87074b

Please sign in to comment.