Skip to content

Commit 4087d8b

Browse files
committed
Merge branch 'release/1.0.5'
2 parents 9b4b9e5 + 933087f commit 4087d8b

File tree

9 files changed

+76
-31
lines changed

9 files changed

+76
-31
lines changed

RELEASE_NOTES.md

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,30 @@
1-
# 🚀 GH OSS Helper Release v1.0.4
2-
3-
## ✨ What's New
4-
5-
- **Debug Mode**: Added `enable-debug` input for verbose logging without requiring `ACTIONS_STEP_DEBUG`
6-
- Enhanced debug logging throughout the upload process for better troubleshooting
7-
- Added `isDebugEnabled()` and `logDebug()` utility functions for improved debugging experience
1+
# 🚀 GH OSS Helper Release v1.0.5
82

93
## 🔧 Changes
104

11-
- **Improved Directory Logic**: Refactored directory pattern conversion logic in uploader
12-
- **Better Error Handling**: Enhanced error handling for specific files vs glob patterns
13-
- **Enhanced Logging**: Improved debug logging and messaging in GitHub Actions
14-
15-
## 🐛 Bug Fixes
16-
17-
- **Critical Fix**: Resolved `ENOTDIR` error when uploading single files (like ZIP files) to directory destinations
18-
- Fixed handling of single file uploads to directory paths by properly using basename for remote path
19-
- Improved file existence checking before glob pattern conversion
20-
- Prevented treating ZIP files as directories when destination ends with '/'
21-
22-
## ⚠️ Breaking Changes
23-
24-
None in this release.
5+
- npm devDependencies
6+
- `@eslint/js`: `^9.15.0``^9.35.0`
7+
- `@types/node`: `^22.15.0``^24.4.0`
8+
- `@typescript-eslint/eslint-plugin`: `^8.33.0``^8.43.0`
9+
- `@typescript-eslint/parser`: `^8.33.0``^8.43.0`
10+
- `@vitest/coverage-v8`: `^3.2.0``^3.2.4`
11+
- `eslint`: `^9.15.0``^9.35.0`
12+
- `tsx`: `^4.19.4``^4.20.3`
13+
- `vitest`: `^3.2.0``^3.2.4`
14+
15+
- GitHub Actions versions used in workflows
16+
- `actions/checkout`: `@v4``@v5`
17+
- `actions/setup-node`: `@v4``@v5`
18+
- `codecov/codecov-action`: `@v4``@v5`
19+
- `softprops/action-gh-release`: `@v1``@v2`
2520

2621
## 📖 Usage Examples
2722

2823
### Basic Upload
24+
2925
```yaml
3026
- name: Upload to OSS
31-
uses: your-username/[email protected].4
27+
uses: diverger/[email protected].5
3228
with:
3329
region: 'oss-cn-hangzhou'
3430
access-key: ${{ secrets.OSS_ACCESS_KEY }}
@@ -41,7 +37,7 @@ None in this release.
4137
4238
## 🔗 Full Changelog
4339
44-
**Full Changelog**: https://github.com/your-username/gh-oss-helper/compare/v1.0.3...v1.0.4
40+
**Full Changelog**: https://github.com/diverger/gh-oss-helper/compare/v1.0.4...v1.0.5
4541
4642
---
4743

RELEASE_NOTES_ARCHIVE.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,55 @@ This file contains archived release notes for older versions of GH OSS Helper.
44

55
---
66

7+
## ✨ What's New
8+
9+
- **Debug Mode**: Added `enable-debug` input for verbose logging without requiring `ACTIONS_STEP_DEBUG`
10+
- Enhanced debug logging throughout the upload process for better troubleshooting
11+
- Added `isDebugEnabled()` and `logDebug()` utility functions for improved debugging experience
12+
13+
## 🔧 Changes
14+
15+
- **Improved Directory Logic**: Refactored directory pattern conversion logic in uploader
16+
- **Better Error Handling**: Enhanced error handling for specific files vs glob patterns
17+
- **Enhanced Logging**: Improved debug logging and messaging in GitHub Actions
18+
19+
## 🐛 Bug Fixes
20+
21+
- **Critical Fix**: Resolved `ENOTDIR` error when uploading single files (like ZIP files) to directory destinations
22+
- Fixed handling of single file uploads to directory paths by properly using basename for remote path
23+
- Improved file existence checking before glob pattern conversion
24+
- Prevented treating ZIP files as directories when destination ends with '/'
25+
26+
## ⚠️ Breaking Changes
27+
28+
None in this release.
29+
30+
## 📖 Usage Examples
31+
32+
### Basic Upload
33+
```yaml
34+
- name: Upload to OSS
35+
uses: your-username/[email protected]
36+
with:
37+
region: 'oss-cn-hangzhou'
38+
access-key: ${{ secrets.OSS_ACCESS_KEY }}
39+
secret-key: ${{ secrets.OSS_SECRET_KEY }}
40+
bucket: 'my-bucket'
41+
assets: |
42+
dist/:website/
43+
README.md:docs/readme.md
44+
```
45+
46+
## 🔗 Full Changelog
47+
48+
**Full Changelog**: https://github.com/your-username/gh-oss-helper/compare/v1.0.3...v1.0.4
49+
50+
---
51+
52+
*For older releases, see [RELEASE_NOTES_ARCHIVE.md](RELEASE_NOTES_ARCHIVE.md)*
53+
54+
---
55+
756
## 🔧 Changes
857
958
- Updated release workflow to use `softprops/action-gh-release@v1` for better release management

RELEASE_NOTES_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
### Basic Upload
3030
```yaml
3131
- name: Upload to OSS
32-
uses: your-username/gh-oss-helper@[VERSION]
32+
uses: diverger/gh-oss-helper@[VERSION]
3333
with:
3434
region: 'oss-cn-hangzhou'
3535
access-key: ${{ secrets.OSS_ACCESS_KEY }}
@@ -42,7 +42,7 @@
4242
4343
## 🔗 Full Changelog
4444
45-
**Full Changelog**: https://github.com/your-username/gh-oss-helper/compare/[PREVIOUS]...[VERSION]
45+
**Full Changelog**: https://github.com/diverger/gh-oss-helper/compare/[PREVIOUS]...[VERSION]
4646
4747
---
4848

dist/index.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/types.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/uploader.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/uploader.test.simple.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/utils.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gh-oss-helper",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "A modern TypeScript GitHub Action for uploading assets to Alibaba Cloud OSS with advanced retry logic and comprehensive error handling",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)