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

adonisling pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git


The following commit(s) were added to refs/heads/main by this push:
     new 4bd97ed  [chore] Mark Apache Doris Third Party Prebuilt as a latest 
release always (#21)
4bd97ed is described below

commit 4bd97ed6db726a5cd204ebaeee0fce61c2679ac6
Author: Adonis Ling <[email protected]>
AuthorDate: Sun Jan 8 14:05:22 2023 +0800

    [chore] Mark Apache Doris Third Party Prebuilt as a latest release always 
(#21)
    
    Although the release `Apache Doris Third Party Prebuilt` was created months 
ago, its content is changing all the time.
    
    Because the artifacts are needed by BE UT workflows, we overwrite them in 
workflow instead of creating a brand new release. As a consequence, the release 
`Apache Doris Third Party Prebuilt` is considered as a obsolete one.
    
    I think we can always mark it as a latest release because the artifacts are 
built against the master branch of Apache Doris. After that, we can access the 
artifacts more conveniently.
---
 .github/workflows/build.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f5ad7d6..5c870dc 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -212,7 +212,7 @@ jobs:
 
           content="$(gh release view automation | sed -n '/Update 
Time:/,/Doris Version:/p')"
           echo -ne "${content}\nStatus: *SUCCESS*\n\n## SHA256 
Checksums\n\`\`\`\n$(sha256sum *)\n\`\`\`" >release_note.md
-          gh release edit -F release_note.md automation
+          gh release edit --latest -F release_note.md automation
 
   failure:
     name: Failure
@@ -230,4 +230,4 @@ jobs:
           gh release download automation
 
           echo -ne "Status: *FAILURE*\n\n## SHA256 
Checksums\n\`\`\`\n$(sha256sum *)\n\`\`\`" >release_note.md
-          gh release edit -F release_note.md automation
+          gh release edit --latest -F release_note.md automation


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

Reply via email to