This is an automated email from the ASF dual-hosted git repository.

zhaoqingran pushed a commit to branch release-1.6.1-rc1
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git

commit 5485402c0da0e7e204cc826a652a42f44ca92371
Author: Logic <[email protected]>
AuthorDate: Thu Sep 19 17:16:33 2024 +0800

    ```fix(release): correct tarball prefix for Windows releases
    
    Adjust the prefix in the Windows release script to accurately reflect the
    release version. This change ensures that the tarball uses a consistent
    prefix, enhancing clarity and usability for subsequent release processes.
    ```
---
 script/release/release-win.ps1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/script/release/release-win.ps1 b/script/release/release-win.ps1
index 6e711e987..4c12615b7 100644
--- a/script/release/release-win.ps1
+++ b/script/release/release-win.ps1
@@ -53,7 +53,7 @@ Pop-Location
 
 # package release artifacts
 Write-Host "Archiving source code..."
-git archive --format=tar.gz 
--output="dist/apache-hertzbeat-$version-incubating-src.tar.gz" 
--prefix=apache-hertzbeat-$version-incubating-src/$rcNumber git archive 
--format=tar.gz --output="dist/apache-hertzbeat-$version-incubating-src.tar.gz" 
--prefix=apache-hertzbeat-$version-incubating-src/$rcNumber
+git archive --format=tar.gz 
--output="dist/apache-hertzbeat-$version-incubating-src.tar.gz" 
--prefix=apache-hertzbeat-$version-incubating-src/ release-$version-$rcNumber
 
 # sign release artifacts
 Write-Host "Signing release artifacts..."


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to