ci: Fixed heredoc issue for windows-latest

This commit is contained in:
2025-09-15 16:56:22 -06:00
parent 3fecd6a00a
commit 9e3065794a
4 changed files with 39 additions and 84 deletions
+37 -43
View File
@@ -432,51 +432,45 @@ jobs:
root="winget-manifests/manifests/${publisher:0:1}/$publisher/$pkgname/$RELEASE_VERSION" root="winget-manifests/manifests/${publisher:0:1}/$publisher/$pkgname/$RELEASE_VERSION"
mkdir -p "$root" mkdir -p "$root"
cat > "$root/$IDENTIFIER.yaml" <<YAML echo "PackageIdentifier: $IDENTIFIER" >> "$root/$IDENTIFIER.yaml"
PackageIdentifier: $IDENTIFIER echo "PackageVersion: $RELEASE_VERSION" >> "$root/$IDENTIFIER.yaml"
PackageVersion: $RELEASE_VERSION echo "DefaultLocale: en-US" >> "$root/$IDENTIFIER.yaml"
DefaultLocale: en-US echo "ManifestType: version" >> "$root/$IDENTIFIER.yaml"
ManifestType: version echo "ManifestVersion: 1.6.0" >> "$root/$IDENTIFIER.yaml"
ManifestVersion: 1.6.0
YAML
cat > "$root/$IDENTIFIER.locale.en-US.yaml" <<YAML echo "PackageIdentifier: $IDENTIFIER" >> "$root/$IDENTIFIER.locale.en-US.yaml"
PackageIdentifier: $IDENTIFIER echo "PackageVersion: $RELEASE_VERSION" >> "$root/$IDENTIFIER.locale.en-US.yaml"
PackageVersion: $RELEASE_VERSION echo "PackageLocale: en-US" >> "$root/$IDENTIFIER.locale.en-US.yaml"
PackageLocale: en-US echo "Publisher: $publisher" >> "$root/$IDENTIFIER.locale.en-US.yaml"
Publisher: $publisher echo "PackageName: $pkgname" >> "$root/$IDENTIFIER.locale.en-US.yaml"
PackageName: $pkgname echo "Moniker: gman" >> "$root/$IDENTIFIER.locale.en-US.yaml"
Moniker: gman echo "License: $license" >> "$root/$IDENTIFIER.locale.en-US.yaml"
License: $license echo "ShortDescription: $desc" >> "$root/$IDENTIFIER.locale.en-US.yaml"
ShortDescription: $desc echo "PublisherUrl: https://github.com/$publisher" >> "$root/$IDENTIFIER.locale.en-US.yaml"
PublisherUrl: https://github.com/$publisher echo "PackageUrl: https://github.com/$REPO" >> "$root/$IDENTIFIER.locale.en-US.yaml"
PackageUrl: https://github.com/$REPO echo "ManifestType: defaultLocale" >> "$root/$IDENTIFIER.locale.en-US.yaml"
ManifestType: defaultLocale echo "ManifestVersion: 1.6.0" >> "$root/$IDENTIFIER.locale.en-US.yaml"
ManifestVersion: 1.6.0
YAML
cat > "$root/$IDENTIFIER.installer.yaml" <<YAML echo "PackageIdentifier: $IDENTIFIER" >> "$root/$IDENTIFIER.installer.yaml"
PackageIdentifier: $IDENTIFIER echo "PackageVersion: $RELEASE_VERSION" >> "$root/$IDENTIFIER.installer.yaml"
PackageVersion: $RELEASE_VERSION echo "InstallerType: zip" >> "$root/$IDENTIFIER.installer.yaml"
InstallerType: zip echo "Installers:" >> "$root/$IDENTIFIER.installer.yaml"
Installers: echo " - Architecture: x64" >> "$root/$IDENTIFIER.installer.yaml"
- Architecture: x64 echo " InstallerUrl: $url_x64" >> "$root/$IDENTIFIER.installer.yaml"
InstallerUrl: $url_x64 echo " InstallerSha256: $x64_sha" >> "$root/$IDENTIFIER.installer.yaml"
InstallerSha256: $x64_sha echo " NestedInstallerType: portable" >> "$root/$IDENTIFIER.installer.yaml"
NestedInstallerType: portable echo " NestedInstallerFiles:" >> "$root/$IDENTIFIER.installer.yaml"
NestedInstallerFiles: echo " - RelativeFilePath: gman.exe" >> "$root/$IDENTIFIER.installer.yaml"
- RelativeFilePath: gman.exe echo " PortableCommandAlias: gman" >> "$root/$IDENTIFIER.installer.yaml"
PortableCommandAlias: gman echo " - Architecture: arm64" >> "$root/$IDENTIFIER.installer.yaml"
- Architecture: arm64 echo " InstallerUrl: $url_arm64" >> "$root/$IDENTIFIER.installer.yaml"
InstallerUrl: $url_arm64 echo " InstallerSha256: $arm64_sha" >> "$root/$IDENTIFIER.installer.yaml"
InstallerSha256: $arm64_sha echo " NestedInstallerType: portable" >> "$root/$IDENTIFIER.installer.yaml"
NestedInstallerType: portable echo " NestedInstallerFiles:" >> "$root/$IDENTIFIER.installer.yaml"
NestedInstallerFiles: echo " - RelativeFilePath: gman.exe" >> "$root/$IDENTIFIER.installer.yaml"
- RelativeFilePath: gman.exe echo " PortableCommandAlias: gman" >> "$root/$IDENTIFIER.installer.yaml"
PortableCommandAlias: gman echo "ManifestType: installer" >> "$root/$IDENTIFIER.installer.yaml"
ManifestType: installer echo "ManifestVersion: 1.10.0" >> "$root/$IDENTIFIER.installer.yaml"
ManifestVersion: 1.10.0
YAML
echo "Prepared manifests in $root" echo "Prepared manifests in $root"
-39
View File
@@ -6,42 +6,3 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.0.1] - 2025-09-10 ## [0.0.1] - 2025-09-10
## v0.1.0 (2025-09-15)
### Feat
- Subcommand to edit the config directly instead of having to find the file
### Fix
- improved user messages for local provider sync set up
- Pass the changelog to the GHA properly using a file
- Potential bug in changelog variable generation
- Revert back hacky stuff so I can test with act now
- Attempting to use pre-generated bindgens for the aws-lc-sys library
- Install openSSL differently to make this work
- Address edge case for unknown_musl targets
- Install LLVM prereqs for release flow
- Updated the release flow to install the external bindgen-cli
## v0.0.1 (2025-09-12)
### Feat
- Azure Key Vault support
- GCP Secret Manager support
- Full AWS SecretsManager support
- AWS Secrets Manager support
- Added two new flags to output where gman writes logs to and where it expects the config file to live
### Fix
- Made the vault file location more fault tolerant
- Attempting to maybe be a bit more explicit about config file handling to fix MacOS tests
### Refactor
- Refactor configuration structs directly into the provider definition to simplify validation, structs, and future extensions
- Made the creation of the log directories a bit more fault tolerant
- Renamed the provider field in a config file to type to make things a little easier to understand; also removed husky
Generated
+1 -1
View File
@@ -1576,7 +1576,7 @@ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
[[package]] [[package]]
name = "gman" name = "gman"
version = "0.1.0" version = "0.0.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"argon2", "argon2",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "gman" name = "gman"
version = "0.1.0" version = "0.0.1"
edition = "2024" edition = "2024"
authors = ["Alex Clarke <alex.j.tusa@gmail.com>"] authors = ["Alex Clarke <alex.j.tusa@gmail.com>"]
description = "Universal secret management and injection tool" description = "Universal secret management and injection tool"