Skip to content

Commit

Permalink
Parameterize SVN remover to make it more friendly and safer
Browse files Browse the repository at this point in the history
  • Loading branch information
yaooqinn committed Jul 26, 2024
1 parent c13ea2e commit a0393be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,9 @@ After the vote passes and you moved the approved RC to the release repository, y
the RC directories from the staging repository. For example:

```
svn rm https://dist.apache.org/repos/dist/dev/spark/v2.3.1-rc1-bin/ \
https://dist.apache.org/repos/dist/dev/spark/v2.3.1-rc1-docs/ \
RC=v3.5.2-rc3 && \
svn rm https://dist.apache.org/repos/dist/dev/spark/"${RC}"-bin/ \
https://dist.apache.org/repos/dist/dev/spark/"${RC}"-docs/ \
-m"Removing RC artifacts."
```

Expand Down
5 changes: 3 additions & 2 deletions site/release-process.html
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,9 @@ <h3 id="remove-rc-artifacts-from-repositories">Remove RC artifacts from reposito
<p>After the vote passes and you moved the approved RC to the release repository, you should delete
the RC directories from the staging repository. For example:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>svn rm https://dist.apache.org/repos/dist/dev/spark/v2.3.1-rc1-bin/ \
https://dist.apache.org/repos/dist/dev/spark/v2.3.1-rc1-docs/ \
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>RC=v3.5.2-rc3 &amp;&amp; \
svn rm https://dist.apache.org/repos/dist/dev/spark/"${RC}"-bin/ \
https://dist.apache.org/repos/dist/dev/spark/"${RC}"-docs/ \
-m"Removing RC artifacts."
</code></pre></div></div>

Expand Down

0 comments on commit a0393be

Please sign in to comment.