Skip to content

Commit

Permalink
chore: fix covector
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Nov 24, 2024
1 parent 87d9c12 commit 773ade0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .changes/config.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
{
"gitSiteUrl": "https://github.com/swpu-acm/online-judge/",
"pkgManagers": {
"javascript": {
"version": true,
"getPublishedVersion": {
"use": "fetch:check",
"options": {
"url": "https://api.github.com/repos/swpu-acm/online-judge/git/refs/tags/online-judge-v${ pkg.pkgFile.version }"
}
},
"publish": ["npm publish --provenance --access public"]
},
"rust": {
"version": true,
"getPublishedVersion": {
"use": "fetch:check",
"options": {
"url": "https://api.github.com/repos/swpu-acm/online-judge/git/refs/tags/online-judge-v${ pkg.pkgFile.version }"
"url": "https://crates.io/api/v1/crates/${ pkg.pkg }/${ pkg.pkgFile.version }"
}
},
"publish": []
"publish": ["cargo publish --no-verify --allow-dirty"]
}
},
"packages": {
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
with:
fetch-depth: 0 # required for use of git history
- uses: actions/setup-node@v4
- name: cargo login
run: cargo login ${{ secrets.crate_token }}
- name: git config
run: |
git config --global user.name "${{ github.event.pusher.name }}"
Expand Down

0 comments on commit 773ade0

Please sign in to comment.