ci: fixed release flow
This commit is contained in:
parent
c60a19f79b
commit
8313190803
3 changed files with 19 additions and 10 deletions
|
@ -40,9 +40,18 @@ jobs:
|
||||||
deno-version: '2.0'
|
deno-version: '2.0'
|
||||||
|
|
||||||
- name: Initialize configs
|
- name: Initialize configs
|
||||||
|
env:
|
||||||
|
GH_PRIVKEY: ${{ secrets.GH_PRIVKEY }}
|
||||||
run: |
|
run: |
|
||||||
git config user.name "mtcute-bot"
|
git config user.name "mtcute-bot"
|
||||||
git config user.email mtcute-bot@tei.su
|
git config user.email mtcute-bot@tei.su
|
||||||
|
|
||||||
|
echo "$GH_PRIVKEY" > /tmp/bot-key
|
||||||
|
mkdir -p ~/.ssh
|
||||||
|
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
|
||||||
|
echo "Host github.com" >> ~/.ssh/config
|
||||||
|
echo " IdentityFile /tmp/bot-key" >> ~/.ssh/config
|
||||||
|
chmod 600 /tmp/bot-key
|
||||||
git remote add github git@github.com:mtcute/mtcute.git
|
git remote add github git@github.com:mtcute/mtcute.git
|
||||||
|
|
||||||
- name: Run release
|
- name: Run release
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^3.11.2",
|
"@antfu/eslint-config": "^3.11.2",
|
||||||
"@fuman/build": "https://pkg.pr.new/teidesu/fuman/@fuman/build@c073041",
|
"@fuman/build": "https://pkg.pr.new/teidesu/fuman/@fuman/build@c0e740b",
|
||||||
"@fuman/utils": "0.0.4",
|
"@fuman/utils": "0.0.4",
|
||||||
"@types/deno": "npm:@teidesu/deno-types@1.46.3",
|
"@types/deno": "npm:@teidesu/deno-types@1.46.3",
|
||||||
"@types/node": "20.10.0",
|
"@types/node": "20.10.0",
|
||||||
|
|
|
@ -15,8 +15,8 @@ importers:
|
||||||
specifier: ^3.11.2
|
specifier: ^3.11.2
|
||||||
version: 3.11.2(@typescript-eslint/utils@8.17.0(eslint@9.9.0)(typescript@5.5.4))(@vue/compiler-sfc@3.5.13)(eslint@9.9.0)(typescript@5.5.4)(vitest@2.0.5(@types/node@20.10.0)(@vitest/browser@2.0.5)(@vitest/ui@2.0.5))
|
version: 3.11.2(@typescript-eslint/utils@8.17.0(eslint@9.9.0)(typescript@5.5.4))(@vue/compiler-sfc@3.5.13)(eslint@9.9.0)(typescript@5.5.4)(vitest@2.0.5(@types/node@20.10.0)(@vitest/browser@2.0.5)(@vitest/ui@2.0.5))
|
||||||
'@fuman/build':
|
'@fuman/build':
|
||||||
specifier: https://pkg.pr.new/teidesu/fuman/@fuman/build@c073041
|
specifier: https://pkg.pr.new/teidesu/fuman/@fuman/build@c0e740b
|
||||||
version: https://pkg.pr.new/teidesu/fuman/@fuman/build@c073041(tough-cookie@4.1.4)(typedoc@0.27.6(typescript@5.5.4))(typescript@5.5.4)(vite@5.4.2(@types/node@20.10.0))
|
version: https://pkg.pr.new/teidesu/fuman/@fuman/build@c0e740b(tough-cookie@4.1.4)(typedoc@0.27.6(typescript@5.5.4))(typescript@5.5.4)(vite@5.4.2(@types/node@20.10.0))
|
||||||
'@fuman/utils':
|
'@fuman/utils':
|
||||||
specifier: 0.0.4
|
specifier: 0.0.4
|
||||||
version: 0.0.4
|
version: 0.0.4
|
||||||
|
@ -1097,8 +1097,8 @@ packages:
|
||||||
resolution: {integrity: sha512-2b/g5hRmpbb1o4GnTZax9N9m0FXzz9OV42ZzI4rDDMDuHUqigAiQCEWChBWCY4ztAGVRjoWT19v0yMmc5/L5kA==}
|
resolution: {integrity: sha512-2b/g5hRmpbb1o4GnTZax9N9m0FXzz9OV42ZzI4rDDMDuHUqigAiQCEWChBWCY4ztAGVRjoWT19v0yMmc5/L5kA==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
|
|
||||||
'@fuman/build@https://pkg.pr.new/teidesu/fuman/@fuman/build@c073041':
|
'@fuman/build@https://pkg.pr.new/teidesu/fuman/@fuman/build@c0e740b':
|
||||||
resolution: {tarball: https://pkg.pr.new/teidesu/fuman/@fuman/build@c073041}
|
resolution: {tarball: https://pkg.pr.new/teidesu/fuman/@fuman/build@c0e740b}
|
||||||
version: 0.0.7
|
version: 0.0.7
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
@ -1132,8 +1132,8 @@ packages:
|
||||||
zod:
|
zod:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@fuman/fetch@https://pkg.pr.new/teidesu/fuman/@fuman/fetch@c0730413e863fa6ba6c7f1750fbee3c018e8f610':
|
'@fuman/fetch@https://pkg.pr.new/teidesu/fuman/@fuman/fetch@c0e740bafe591eab2377545771c62f620b7099d2':
|
||||||
resolution: {tarball: https://pkg.pr.new/teidesu/fuman/@fuman/fetch@c0730413e863fa6ba6c7f1750fbee3c018e8f610}
|
resolution: {tarball: https://pkg.pr.new/teidesu/fuman/@fuman/fetch@c0e740bafe591eab2377545771c62f620b7099d2}
|
||||||
version: 0.0.7
|
version: 0.0.7
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@badrap/valita': '>=0.4.0'
|
'@badrap/valita': '>=0.4.0'
|
||||||
|
@ -4615,10 +4615,10 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
levn: 0.4.1
|
levn: 0.4.1
|
||||||
|
|
||||||
'@fuman/build@https://pkg.pr.new/teidesu/fuman/@fuman/build@c073041(tough-cookie@4.1.4)(typedoc@0.27.6(typescript@5.5.4))(typescript@5.5.4)(vite@5.4.2(@types/node@20.10.0))':
|
'@fuman/build@https://pkg.pr.new/teidesu/fuman/@fuman/build@c0e740b(tough-cookie@4.1.4)(typedoc@0.27.6(typescript@5.5.4))(typescript@5.5.4)(vite@5.4.2(@types/node@20.10.0))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@drizzle-team/brocli': 0.10.2
|
'@drizzle-team/brocli': 0.10.2
|
||||||
'@fuman/fetch': https://pkg.pr.new/teidesu/fuman/@fuman/fetch@c0730413e863fa6ba6c7f1750fbee3c018e8f610(tough-cookie@4.1.4)(zod@3.23.8)
|
'@fuman/fetch': https://pkg.pr.new/teidesu/fuman/@fuman/fetch@c0e740bafe591eab2377545771c62f620b7099d2(tough-cookie@4.1.4)(zod@3.23.8)
|
||||||
'@fuman/io': 0.0.4
|
'@fuman/io': 0.0.4
|
||||||
'@fuman/node': 0.0.4
|
'@fuman/node': 0.0.4
|
||||||
'@fuman/utils': 0.0.4
|
'@fuman/utils': 0.0.4
|
||||||
|
@ -4652,7 +4652,7 @@ snapshots:
|
||||||
tough-cookie: 4.1.4
|
tough-cookie: 4.1.4
|
||||||
zod: 3.23.8
|
zod: 3.23.8
|
||||||
|
|
||||||
'@fuman/fetch@https://pkg.pr.new/teidesu/fuman/@fuman/fetch@c0730413e863fa6ba6c7f1750fbee3c018e8f610(tough-cookie@4.1.4)(zod@3.23.8)':
|
'@fuman/fetch@https://pkg.pr.new/teidesu/fuman/@fuman/fetch@c0e740bafe591eab2377545771c62f620b7099d2(tough-cookie@4.1.4)(zod@3.23.8)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@fuman/utils': 0.0.4
|
'@fuman/utils': 0.0.4
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
|
|
Loading…
Reference in a new issue