Skip to content

Commit 3d92598

Browse files
committed
Fix CRX file copy issue in workflow
- Remove redundant CRX file copy operation - CRX file is already created with correct version name - Simplify workflow verification logic - Bump version to 1.6.4 for final test
1 parent 740274e commit 3d92598

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,8 @@ jobs:
214214
cp blog-link-analyzer.zip "blog-link-analyzer-${VERSION}.zip"
215215
cp blog-link-analyzer-firefox.xpi "blog-link-analyzer-firefox-${VERSION}.xpi"
216216
217-
# Find and copy CRX file with version number
218-
CRX_FILE=$(find . -name "blog-link-analyzer-*.crx" -type f | head -1)
219-
if [ -n "$CRX_FILE" ]; then
220-
cp "$CRX_FILE" "blog-link-analyzer-${VERSION}.crx"
217+
# Verify CRX file exists with version number
218+
if [ -f "blog-link-analyzer-${VERSION}.crx" ]; then
221219
echo "✅ CRX file created and versioned"
222220
ls -la blog-link-analyzer-${VERSION}.crx
223221
else

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blog-link-analyzer",
3-
"version": "1.6.3",
3+
"version": "1.6.4",
44
"description": "Detects blog posts and extracts linked blog content with titles and authors",
55
"main": "background/service-worker.js",
66
"scripts": {

0 commit comments

Comments
 (0)