Skip to content

Commit 6c6d039

Browse files
committed
Exclude unneeded files from artifact
1 parent 6f522d8 commit 6c6d039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/build_artifact.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ task :build_artifact do |task|
2121

2222
system("fpm -s dir -t deb -n #{artifact_name} -v #{version} -a all -p pkg \
2323
--prefix /var/www/projectaanvraag-api \
24-
-x '.git*' -x pkg -x '*.dist.yml' -x Jenkinsfile \
24+
-x '.git*' -x pkg -x '*.dist.yml' -x Jenkinsfile -x 'Gemfile*' -x 'docker*' \
2525
--config-files /var/www/projectaanvraag-api/config.yml \
2626
--config-files /var/www/projectaanvraag-api/user_roles.yml \
2727
--config-files /var/www/projectaanvraag-api/integration_types.yml \

0 commit comments

Comments
 (0)