Skip to content

Commit

Permalink
♻️ Synced Soar 📦 <-- ci(workflow): update release workflow ⌚
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas committed Nov 12, 2024
1 parent 910c8ee commit a0341d6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/LATEST.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
80cfceb122d519ab57b460386d51182e9884391c
e0b9a5886bcdafb27a2af0cae42f72ec6d5beda1
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,12 @@

| <img src="https://raw.githubusercontent.com/pkgforge/soar/refs/heads/autoplay/install.webp" /> | <img src="https://raw.githubusercontent.com/pkgforge/soar/refs/heads/autoplay/remove.webp" /> | <img src="https://raw.githubusercontent.com/pkgforge/soar/refs/heads/autoplay/download.webp" /> |
| - | - | - |
| [**`Install Packages`**](https://soar.qaidvoid.dev/install) | [**`Remove Packages`**](https://soar.qaidvoid.dev/remove) | [**`Download File`**](https://soar.qaidvoid.dev/download) |
| **Install Packages** | **Remove Packages** | **Download File** |
| <img src="https://raw.githubusercontent.com/pkgforge/soar/refs/heads/autoplay/run.webp" /> | <img src="https://raw.githubusercontent.com/pkgforge/soar/refs/heads/autoplay/list.webp" /> | <img src="https://raw.githubusercontent.com/pkgforge/soar/refs/heads/autoplay/search.webp" /> |
| [**`Run Package`**](https://soar.qaidvoid.dev/run) | [**`List Packages`**](https://soar.qaidvoid.dev/list) | [**`Search Packages`**](https://soar.qaidvoid.dev/search) |
| **Run Package** | **List Packages** | **Search Packages** |

</div>


## 🌟 Key Features
- [Universal Package Support](https://soar.qaidvoid.dev/#universal-package-support)
- [Desktop Integration](https://soar.qaidvoid.dev/#desktop-integration)
Expand Down
18 changes: 18 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
use std::process::Command;

fn main() {
if std::env::var("SOAR_NIGHTLY").is_ok() {
let commit_sha = Command::new("git")
.arg("rev-parse")
.arg("--short")
.arg("HEAD")
.output()
.expect("Failed to get git commit SHA")
.stdout;

let commit_sha = String::from_utf8(commit_sha).expect("Invalid UTF-8 output").trim().to_string();

println!("cargo:rerun-if-changed=build.rs");
println!("cargo:rustc-env=CARGO_PKG_VERSION=nightly-{}", commit_sha);
}
}

0 comments on commit a0341d6

Please sign in to comment.