Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
eae821f4
Unverified
Commit
eae821f4
authored
6 years ago
by
Tim van Dijen
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update build-release.sh
Run `npm run build` now
parent
319ff7d8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/build-release.sh
+11
-17
11 additions, 17 deletions
bin/build-release.sh
with
11 additions
and
17 deletions
bin/build-release.sh
+
11
−
17
View file @
eae821f4
...
...
@@ -36,37 +36,31 @@ cd $TARGET
git checkout
$TAG
cd
..
# Use composer only on newer versions that have a composer.json
if
[
-f
"
$TARGET
/composer.json"
]
;
then
if
[
!
-x
"
$TARGET
/composer.phar"
]
;
then
curl
-sS
https://getcomposer.org/installer | php
--
--install-dir
=
$TARGET
fi
# Install dependencies (without vcs history or dev tools)
php
"
$TARGET
/composer.phar"
install
--no-dev
--prefer-dist
-o
-d
"
$TARGET
"
if
[
!
-x
"
$TARGET
/composer.phar"
]
;
then
curl
-sS
https://getcomposer.org/installer | php
--
--install-dir
=
$TARGET
fi
# Use npm only on newer versions that have a package.json
if
[
-f
"
$TARGET
/package.json"
]
;
then
npm
install
npm audit fix
fi
# Install dependencies (without vcs history or dev tools)
php
"
$TARGET
/composer.phar"
install
--no-dev
--prefer-dist
-o
-d
"
$TARGET
"
npm
install
npm audit fix
npm run build
mkdir
-p
"
$TARGET
/config"
"
$TARGET
/metadata"
"
$TARGET
/cert"
"
$TARGET
/log"
"
$TARGET
/data"
cp
-rv
"
$TARGET
/config-templates/"
*
"
$TARGET
/config/"
cp
-rv
"
$TARGET
/metadata-templates/"
*
"
$TARGET
/metadata/"
rm
-rf
"
$TARGET
/.git"
rm
"
$TARGET
/.coveralls.yml"
rm
"
$TARGET
/.travis.yml"
rm
"
$TARGET
/.editorconfig"
rm
"
$TARGET
/.gitattributes"
rm
"
$TARGET
/.php_cs.dist"
rm
"
$TARGET
/.travis.yml"
rm
"
$TARGET
/psalm.xml"
rm
"
$TARGET
"
/
{
,modules
}
/.gitignore
rm
"
$TARGET
/.gitattributes"
rm
"
$TARGET
"
/
{
cache,config,metadata,locales
}
/.gitkeep
rm
"
$TARGET
/.editorconfig"
rm
"
$TARGET
/composer.phar"
tar
--owner
0
--group
0
-cvzf
"
$TARGET
.tar.gz"
"
$TARGET
"
rm
-rf
"
$TARGET
"
echo
"Created: /tmp/
$TARGET
.tar.gz"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment