[前][次][番号順一覧][スレッド一覧]

ruby-changes:57882

From: Kazuhiro <ko1@a...>
Date: Tue, 24 Sep 2019 21:53:04 +0900 (JST)
Subject: [ruby-changes:57882] a1dcb9daa5 (master): Rename from ruby-x.y.z.ext.draft to ruby-x.y.z-draft.ext [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=a1dcb9daa5

From a1dcb9daa56874ff11e717ad141d36f26e0b9c13 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Tue, 24 Sep 2019 21:52:23 +0900
Subject: Rename from ruby-x.y.z.ext.draft to ruby-x.y.z-draft.ext [ci skip]


diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml
index cc82e80..b224962 100644
--- a/.github/workflows/draft-release.yml
+++ b/.github/workflows/draft-release.yml
@@ -72,8 +72,8 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/draft-release.yml#L72
           GITHUB_REF=$(echo $GITHUB_REF | sed -e "s#/draft/#/#")
           TARGET_VERSION=$(echo $GITHUB_REF | sed -e "s#refs/tags/v##" -e "s/_\([a-z]\)/-\1/" -e "y/_/./")
           for ext in .tar.gz .tar.bz2 .tar.xz .zip; do
-            aws s3 cp "pkg/ruby-${TARGET_VERSION}$ext" "s3://ftp.r-l.o/pub/tmp/ruby-${TARGET_VERSION}$ext.draft" --no-progress
-            curl -sS -X PURGE -H "Fastly-Soft-Purge:1" "https://cache.ruby-lang.org/pub/tmp/ruby-${TARGET_VERSION}$ext.draft"
+            aws s3 cp "pkg/ruby-${TARGET_VERSION}$ext" "s3://ftp.r-l.o/pub/tmp/ruby-${TARGET_VERSION}-draft$ext" --no-progress
+            curl -sS -X PURGE -H "Fastly-Soft-Purge:1" "https://cache.ruby-lang.org/pub/tmp/ruby-${TARGET_VERSION}-draft$ext"
           done
         env:
           AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -107,13 +107,13 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/draft-release.yml#L107
           set -x
           GITHUB_REF=$(echo $GITHUB_REF | sed -e "s#/draft/#/#")
           TARGET_VERSION=$(echo $GITHUB_REF | sed -e "s#refs/tags/v##" -e "s/_\([a-z]\)/-\1/" -e "y/_/./")
-          curl -sSLo ruby-${TARGET_VERSION}.tar.xz https://cache.ruby-lang.org/pub/tmp/ruby-${TARGET_VERSION}.tar.xz.draft
+          curl -sSLO https://cache.ruby-lang.org/pub/tmp/ruby-${TARGET_VERSION}-draft.tar.xz
       - name: Extract
         run: |
           set -x
           GITHUB_REF=$(echo $GITHUB_REF | sed -e "s#/draft/#/#")
           TARGET_VERSION=$(echo $GITHUB_REF | sed -e "s#refs/tags/v##" -e "s/_\([a-z]\)/-\1/" -e "y/_/./")
-          tar xf ruby-${TARGET_VERSION}.tar.xz
+          tar xf ruby-${TARGET_VERSION}-draft.tar.xz
       - name: Fixed world writable dirs
         run: |
           chmod go-w $HOME
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]