Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor-browser-build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pier Angelo Vendrame
tor-browser-build
Commits
c87cfc72
Unverified
Commit
c87cfc72
authored
7 years ago
by
boklm
Browse files
Options
Downloads
Patches
Plain Diff
Move projects/release/config build to a separate file
parent
15435cbc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
projects/release/build
+26
-0
26 additions, 0 deletions
projects/release/build
projects/release/config
+0
-27
0 additions, 27 deletions
projects/release/config
with
26 additions
and
27 deletions
projects/release/build
0 → 100644
+
26
−
0
View file @
c87cfc72
#!/bin/sh
[
%
c
(
"
var/set_default_env
"
)
-%
]
# reset HOME which was changed by var/set_default_env, for gpg
[
%
IF
ENV
.
HOME
%
]
export
HOME
=
"
[% ENV.HOME %]
"
[
%
END
%
]
destdir
=
"
[% dest_dir _
'
/
'
_ c(
"
var
/
publish_dir
"
) %]
"
mkdir
-
p
"
$destdir
"
[
%
IF
c
(
"
var/torbrowser-windows-i686
"
)
-%
]
mv
[
%
c
(
'
input_files_by_name/windows-i686
'
)
%
]
/*
"
$destdir
"
/
mv
[
%
c
(
'
input_files_by_name/windows-expert-bundle
'
)
%
]
/*
"
$destdir
"
/
%
END
-%
]
[
%
IF
c
(
"
var/torbrowser-osx-x86_64
"
)
-%
]
mv
[
%
c
(
'
input_files_by_name/osx-x86_64
'
)
%
]
/*
"
$destdir
"
/
[
%
END
-%
]
[
%
IF
c
(
"
var/torbrowser-linux-i686
"
)
-%
]
mv
[
%
c
(
'
input_files_by_name/linux-i686
'
)
%
]
/*
"
$destdir
"
/
[
%
END
-%
]
[
%
IF
c
(
"
var/torbrowser-linux-x86_64
"
)
-%
]
mv
[
%
c
(
'
input_files_by_name/linux-x86_64
'
)
%
]
/*
"
$destdir
"
/
mv
[
%
c
(
'
input_files_by_name/sandbox-linux-x86_64
'
)
%
]
"
$destdir
"
/
sandbox
-
[
%
pc
(
'
sandbox
'
,
'
version
'
)
%
]
-
linux64
.
zip
[
%
END
-%
]
cd
"
$destdir
"
sha256sum
$
(
ls
-
1
*
.
exe
*
.
tar
.
xz
*
.
dmg
*
.
mar
*
.
zip
|
grep
-
v
'
\.incremental\.mar$
'
|
sort
)
>
sha256sums
-
unsigned
-
build
.
txt
[
%
IF
c
(
"
var/sign_build
"
)
-%
]
gpg
-
abs
[
%
c
(
"
var/sign_build_gpg_opts
"
)
%
]
sha256sums
-
unsigned
-
build
.
txt
[
%
END
-%
]
cat
sha256sums
-
unsigned
-
build
.
txt
This diff is collapsed.
Click to expand it.
projects/release/config
+
0
−
27
View file @
c87cfc72
...
...
@@ -117,30 +117,3 @@ input_files:
-
torbrowser-windows-i686
-
expert-bundle
build
:
|
#!/bin/sh
[% c("var/set_default_env") -%]
# reset HOME which was changed by var/set_default_env, for gpg
[% IF ENV.HOME %]export HOME="[% ENV.HOME %]"[% END %]
destdir="[% dest_dir _ '/' _ c("var/publish_dir") %]"
mkdir -p "$destdir"
[% IF c("var/torbrowser-windows-i686") -%]
mv [% c('input_files_by_name/windows-i686') %]/* "$destdir"/
mv [% c('input_files_by_name/windows-expert-bundle') %]/* "$destdir"/
[% END -%]
[% IF c("var/torbrowser-osx-x86_64") -%]
mv [% c('input_files_by_name/osx-x86_64') %]/* "$destdir"/
[% END -%]
[% IF c("var/torbrowser-linux-i686") -%]
mv [% c('input_files_by_name/linux-i686') %]/* "$destdir"/
[% END -%]
[% IF c("var/torbrowser-linux-x86_64") -%]
mv [% c('input_files_by_name/linux-x86_64') %]/* "$destdir"/
mv [% c('input_files_by_name/sandbox-linux-x86_64') %] "$destdir"/sandbox-[% pc('sandbox', 'version') %]-linux64.zip
[% END -%]
cd "$destdir"
sha256sum $(ls -1 *.exe *.tar.xz *.dmg *.mar *.zip | grep -v '\.incremental\.mar$' | sort) > sha256sums-unsigned-build.txt
[% IF c("var/sign_build") -%]
gpg -abs [% c("var/sign_build_gpg_opts") %] sha256sums-unsigned-build.txt
[% END -%]
cat sha256sums-unsigned-build.txt
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