Skip to content

Commit

Permalink
Support parallel releases (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Apr 5, 2024
1 parent 432592f commit 305bbb5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-release-reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,12 @@ jobs:
cd "$SVN_DIR"
svn up --depth files "$PROJECT_ID"
# Switch to the project folder
if [ \! -d "$PROJECT_ID" ]; then
mkdir -p "$PROJECT_ID"
svn add "$PROJECT_ID"
# Switch to the distribution folder
if [[ \! -d "$PROJECT_ID" || \! -d "$PROJECT_ID/$PROJECT_VERSION" ]]; then
mkdir -p "$PROJECT_ID/$PROJECT_VERSION"
svn add --force "$PROJECT_ID"
fi
cd "$PROJECT_ID"
cd "$PROJECT_ID/$PROJECT_VERSION"
# Clean up old files
find . -name "${DIST_FILENAME_PREFIX}*" -type f -print0 | xargs -0 -r svn delete
Expand Down
9 changes: 9 additions & 0 deletions src/changelog/.10.x.x/139_add_parallel_release_support.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://logging.apache.org/log4j/changelog"
xsi:schemaLocation="http://logging.apache.org/log4j/changelog https://logging.apache.org/log4j/changelog-0.1.3.xsd"
type="changed">
<issue id="139" link="https://github.com/apache/logging-parent/issues/139"/>
<description format="asciidoc"><![CDATA[Support parallel releases by uploading the distribution to `<projectId>/<version>` folders.
This is needed for parallel Log4j 2 and 3 releases.]]></description>
</entry>

0 comments on commit 305bbb5

Please sign in to comment.