From c87074b13080a2b4779496316f607fdaea1815d3 Mon Sep 17 00:00:00 2001 From: AHQ Miness Date: Sun, 1 Sep 2024 22:08:22 +0530 Subject: [PATCH] 0.5.4 --- Cargo.toml | 2 +- README.md | 4 ++++ package.json | 2 +- src/app/build/mod.rs | 5 ++--- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7838ebf..750f380 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/README.md b/README.md index 77efedb..4cb0077 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index c44b193..c0bbe69 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ahqstore/cli", - "version": "0.5.3", + "version": "0.5.4", "readme": "./README.md", "napi": { "name": "cli", diff --git a/src/app/build/mod.rs b/src/app/build/mod.rs index 45951d6..8705ea7 100644 --- a/src/app/build/mod.rs +++ b/src/app/build/mod.rs @@ -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)