Skip to content

Commit

Permalink
fix upload archive with the correct folder name
Browse files Browse the repository at this point in the history
Signed-off-by: Augustin Husson <augustin.husson@amadeus.com>
  • Loading branch information
Nexucis committed Feb 13, 2025
1 parent 8b643b6 commit f83821e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upload-archive/upload-archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func main() {
logrus.WithError(err).Fatalf("unable to read manifest file for plugin %s", pluginFolderName)
}
pluginName := manifest.Name
if execErr := exec.Command("gh", "release", "upload", *tag, filepath.Join(pluginName, fmt.Sprintf("%s-%s.tar.gz", pluginName, version))).Run(); execErr != nil {
if execErr := exec.Command("gh", "release", "upload", *tag, filepath.Join(pluginFolderName, fmt.Sprintf("%s-%s.tar.gz", pluginName, version))).Run(); execErr != nil {
logrus.WithError(execErr).Fatalf("unable to upload archive %s", pluginName)
}
}

0 comments on commit f83821e

Please sign in to comment.