summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-04-09 07:08:14 +0200
committerGitHub <noreply@github.com>2021-04-09 01:08:14 -0400
commit0991f9aa427ab923544c35d73232fa53c9db9120 (patch)
tree8ce3f0fdbd2dfc12c9ad7b8f21ffdea406fd19d4 /.drone.yml
parent7088bcf61bdb748ccd902b6c8ae869340bb4b333 (diff)
downloadgitea-0991f9aa427ab923544c35d73232fa53c9db9120.tar.gz
gitea-0991f9aa427ab923544c35d73232fa53c9db9120.zip
Stop packaging node_modules in release tarballs (#15273)
- Don't package node_modules in tarballs, they are not cross-platform anymore and npm cache should not be messed with directly. Instead, require an internet connection to rebuild the UI, which is not necessary in the general use case because prebuilt UI files are shipped in the public directory. - Simplify the fomantic build and make the target phony. We don't need anything more for something that is rarely ran. - Use regular tar again to build tarballs and add variable for excludes - Disable annoying npm update notifications Fixes: https://github.com/go-gitea/gitea/pull/14578 Fixes: https://github.com/go-gitea/gitea/pull/15256 Fixes: https://github.com/go-gitea/gitea/pull/15262 Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.drone.yml b/.drone.yml
index fa468730fb..d1cedb73cc 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -501,7 +501,7 @@ steps:
pull: always
image: techknowlogick/xgo:go-1.16.x
commands:
- - curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt -y install nodejs bsdtar\|libarchive-tools
+ - curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs
- export PATH=$PATH:$GOPATH/bin
- make release
environment:
@@ -597,7 +597,7 @@ steps:
pull: always
image: techknowlogick/xgo:go-1.16.x
commands:
- - curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs bsdtar\|libarchive-tools
+ - curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs
- export PATH=$PATH:$GOPATH/bin
- make release
environment: