Skip to content

Commit f48b0b7

Browse files
committed
[ci] Fix path to update-site zip
1 parent 2286580 commit f48b0b7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/publish-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
VERSION: ${{ needs.check-version.outputs.VERSION }}
161161
run: |
162162
RELEASE_NAME="PMD For Eclipse ${VERSION}"
163-
gh release create "$TAG_NAME" "net.sourceforge.pmd.eclipse.p2updatesite/target/net.sourceforge.pmd.eclipse.p2updatesite-${VERSION}.zip" \
163+
gh release create "$TAG_NAME" "net.sourceforge.pmd.eclipse.p2updatesite-${VERSION}.zip" \
164164
--verify-tag \
165165
--notes-file release_notes_prepared.md \
166166
--title "$RELEASE_NAME"
@@ -203,7 +203,7 @@ jobs:
203203
run: |
204204
uploadUrl="${PMD_SF_USER}@web.sourceforge.net:/home/frs/project/pmd/pmd-eclipse/zipped/"
205205
rsync -avh \
206-
"net.sourceforge.pmd.eclipse.p2updatesite/target/net.sourceforge.pmd.eclipse.p2updatesite-${VERSION}.zip" \
206+
"net.sourceforge.pmd.eclipse.p2updatesite-${VERSION}.zip" \
207207
"${uploadUrl}/net.sourceforge.pmd.eclipse.p2updatesite-SNAPSHOT.zip"
208208
209209
- name: Cleanup ssh
@@ -249,7 +249,7 @@ jobs:
249249
git config user.name "pmd-actions-helper[bot]"
250250
git config user.email "207160486+pmd-actions-helper[bot]@users.noreply.github.com"
251251
252-
unzip -q -d "${VERSION}" "../net.sourceforge.pmd.eclipse.p2updatesite/target/net.sourceforge.pmd.eclipse.p2updatesite-${VERSION}.zip"
252+
unzip -q -d "${VERSION}" "../net.sourceforge.pmd.eclipse.p2updatesite-${VERSION}.zip"
253253
git add "${VERSION}"
254254
../.ci/files/regenerate_metadata.sh
255255

.github/workflows/publish-snapshot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
run: |
156156
uploadUrl="${PMD_SF_USER}@web.sourceforge.net:/home/frs/project/pmd/pmd-eclipse/zipped/"
157157
rsync -avh \
158-
"net.sourceforge.pmd.eclipse.p2updatesite/target/net.sourceforge.pmd.eclipse.p2updatesite-*.zip" \
158+
"net.sourceforge.pmd.eclipse.p2updatesite-*.zip" \
159159
"${uploadUrl}/net.sourceforge.pmd.eclipse.p2updatesite-SNAPSHOT.zip"
160160
161161
- name: Cleanup ssh
@@ -201,12 +201,12 @@ jobs:
201201
git config user.name "pmd-actions-helper[bot]"
202202
git config user.email "207160486+pmd-actions-helper[bot]@users.noreply.github.com"
203203
204-
qualifiedVersion="$(basename ../net.sourceforge.pmd.eclipse.p2updatesite/target/net.sourceforge.pmd.eclipse.p2updatesite-*.zip)"
204+
qualifiedVersion="$(basename ../net.sourceforge.pmd.eclipse.p2updatesite-*.zip)"
205205
qualifiedVersion="${qualifiedVersion%.zip}"
206206
qualifiedVersion="${qualifiedVersion#net.sourceforge.pmd.eclipse.p2updatesite-}"
207207
208208
rm -rf snapshot
209-
unzip -q -d snapshot "../net.sourceforge.pmd.eclipse.p2updatesite/target/net.sourceforge.pmd.eclipse.p2updatesite-*.zip"
209+
unzip -q -d snapshot "../net.sourceforge.pmd.eclipse.p2updatesite-*.zip"
210210
echo "This is a Eclipse Update Site for the [PMD Eclipse Plugin](https://github.com/pmd/pmd-eclipse-plugin/) ${VERSION}.
211211
212212
Use <https://pmd.github.io/pmd-eclipse-plugin-p2-site/snapshot/> to install the plugin with the Eclipse Update Manager.

0 commit comments

Comments
 (0)