Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
keycloak-proxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
keycloak-proxy
Commits
eea54eb7
Commit
eea54eb7
authored
Mar 6, 2019
by
stianst
Committed by
Stian Thorgersen
Mar 6, 2019
Browse files
Options
Downloads
Patches
Plain Diff
Fix release
parent
d8a38699
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+7
-8
7 additions, 8 deletions
Makefile
release.sh
+2
-2
2 additions, 2 deletions
release.sh
with
9 additions
and
10 deletions
Makefile
+
7
−
8
View file @
eea54eb7
...
...
@@ -28,10 +28,9 @@ build: golang
go build
-ldflags
"
${
LFLAGS
}
"
-o
bin/
${
NAME
}
release
:
clean golang deps
@
mkdir
-p
release
mkdir
-p
release
$(
foreach GOOS,
$(
PLATFORMS
)
,
\
$(
foreach GOARCH,
$(
ARCHITECTURES
)
,
$(
shell
[
$(
GOOS
)
=
"windows"
]
&&
EXT
=
".exe"
;
env
GOOS
=
$(
GOOS
)
GOARCH
=
$(
GOARCH
)
CGO_ENABLED
=
0
;
\
go build
-a
-tags
netgo
-ldflags
"-w
${
LFLAGS
}
"
-o
bin/
${
NAME
}
$$
EXT
;
\
$(
foreach GOARCH,
$(
ARCHITECTURES
)
,
$(
shell
[
$(
GOOS
)
=
"windows"
]
&&
EXT
=
".exe"
;
env
GOOS
=
$(
GOOS
)
GOARCH
=
$(
GOARCH
)
CGO_ENABLED
=
0 go build
-a
-tags
netgo
-ldflags
"-w
${
LFLAGS
}
"
-o
bin/
${
NAME
}
$$
EXT
;
\
tar
-czvf
release/
${
NAME
}
-
$(
GOOS
)
-
$(
GOARCH
)
.tar.gz
-C
bin/
${
NAME
}
$$
EXT
>
/dev/null
;
\
sha1sum
release/
${
NAME
}
-
$(
GOOS
)
-
$(
GOARCH
)
.tar.gz |
cut
-d
" "
-f1
>
release/
${
NAME
}
-
$(
GOOS
)
-
$(
GOARCH
)
.tar.gz.sha1
)))
...
...
@@ -85,13 +84,13 @@ authors:
git log
--format
=
'%aN <%aE>'
|
sort
-u
>
AUTHORS
dep-install
:
@
echo
"--> Installing dependencies"
@
dep ensure
echo
"--> Installing dependencies"
dep ensure
deps
:
@
echo
"--> Installing build dependencies"
@
go get
-u
github.com/golang/dep/cmd/dep
@
$(
MAKE
)
dep-install
echo
"--> Installing build dependencies"
go get
-u
github.com/golang/dep/cmd/dep
$(
MAKE
)
dep-install
vet
:
@
echo
"--> Running go vet
$(
VETARGS
)
."
...
...
This diff is collapsed.
Click to expand it.
release.sh
+
2
−
2
View file @
eea54eb7
...
...
@@ -15,14 +15,14 @@ echo "--------------------------------------------------------------------------
echo
"Building:"
echo
""
make release
--trace
make release
echo
"------------------------------------------------------------------------------------------------------------"
echo
"Upload to jboss.org:"
echo
""
rsync
-rv
--protocol
=
28
$
RELDIR
/keycloak-gatekeeper
/release/
*
keycloak@filemgmt.jboss.org:/downloads_htdocs/keycloak/
$VERSION
/gatekeeper/
rsync
-rv
--protocol
=
28
$
DIR
/release/
*
keycloak@filemgmt.jboss.org:/downloads_htdocs/keycloak/
$VERSION
/gatekeeper/
echo
"------------------------------------------------------------------------------------------------------------"
...
...
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