Skip to content

Commit

Permalink
✨ feat: initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
GalacticDevOps committed Dec 26, 2024
1 parent 3091327 commit be7d9ee
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ jobs:
with:
version: latest

# 安装 Snapcraft
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2
with:
snapcraft_token: ${{ secrets.SNAPCRAFT_TOKEN }}

# 更新 Linux 依赖安装
- name: Install Linux Dependencies
run: |
Expand Down Expand Up @@ -146,7 +152,21 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEBUG: electron-builder
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}

# 新增:上传到 Snap Store
- name: Publish to Snap Store
if: startsWith(github.ref, 'refs/tags/')
run: |
for snap in dist/*.snap; do
if [ -f "$snap" ]; then
snapcraft upload "$snap" --release stable
fi
done
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
continue-on-error: true

- name: List Build Output
run: |
ls -la dist
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0-alpha1] - 2024-12-26
## [1.0.1] - 2024-12-26

### Added
- 支持修改 Cursor 的相关机器码
Expand Down

0 comments on commit be7d9ee

Please sign in to comment.