disable pkg because it doesn't work
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
c86145fd56
commit
a0985f5156
1 changed files with 34 additions and 34 deletions
|
@ -65,39 +65,39 @@ local release(arch) = {
|
|||
'pnpm i',
|
||||
'pnpm build',
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'package',
|
||||
image: 'node:lts',
|
||||
commands: (
|
||||
if arch == 'arm64' then
|
||||
[
|
||||
'wget "https://github.com/ProcursusTeam/ldid/releases/download/v2.1.5-procursus2/ldid_linux_aarch64" -O /usr/local/bin/ldid',
|
||||
'chmod +x /usr/local/bin/ldid',
|
||||
] else []
|
||||
) + [
|
||||
'npm run package -- -t latest-linux-%s,latest-alpine-%s,latest-macos-%s,latest-win-%s -o dist/bin/feditoken-%s' % [arch, arch, arch, arch, arch],
|
||||
'xz -9 dist/bin/*',
|
||||
],
|
||||
depends_on: [
|
||||
'build',
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'release',
|
||||
image: 'plugins/gitea-release',
|
||||
settings: {
|
||||
api_key: {
|
||||
from_secret: 'release_api_key',
|
||||
},
|
||||
base_url: 'https://git.froth.zone',
|
||||
files: [
|
||||
'dist/bin/*',
|
||||
],
|
||||
},
|
||||
depends_on: [
|
||||
'package',
|
||||
],
|
||||
// },
|
||||
// {
|
||||
// name: 'package',
|
||||
// image: 'node:lts',
|
||||
// commands: (
|
||||
// if arch == 'arm64' then
|
||||
// [
|
||||
// 'wget "https://github.com/ProcursusTeam/ldid/releases/download/v2.1.5-procursus2/ldid_linux_aarch64" -O /usr/local/bin/ldid',
|
||||
// 'chmod +x /usr/local/bin/ldid',
|
||||
// ] else []
|
||||
// ) + [
|
||||
// 'npm run package -- -t latest-linux-%s,latest-alpine-%s,latest-macos-%s,latest-win-%s -o dist/bin/feditoken-%s' % [arch, arch, arch, arch, arch],
|
||||
// 'xz -9 dist/bin/*',
|
||||
// ],
|
||||
// depends_on: [
|
||||
// 'build',
|
||||
// ],
|
||||
// },
|
||||
// {
|
||||
// name: 'release',
|
||||
// image: 'plugins/gitea-release',
|
||||
// settings: {
|
||||
// api_key: {
|
||||
// from_secret: 'release_api_key',
|
||||
// },
|
||||
// base_url: 'https://git.froth.zone',
|
||||
// files: [
|
||||
// 'dist/bin/*',
|
||||
// ],
|
||||
// },
|
||||
// depends_on: [
|
||||
// 'package',
|
||||
// ],
|
||||
} +
|
||||
(if arch == 'amd64' then
|
||||
{
|
||||
|
@ -122,5 +122,5 @@ local release(arch) = {
|
|||
pipe('arm64'),
|
||||
|
||||
release('amd64'),
|
||||
release('arm64'),
|
||||
// release('arm64'),
|
||||
]
|
||||
|
|
Reference in a new issue