Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitflow
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tools
gitflow
Commits
1c1ca8ca
Commit
1c1ca8ca
authored
Jan 26, 2017
by
cmosh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Readme release
parent
eeb7802b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
92 deletions
+14
-92
gitflow-installer.sh
contrib/gitflow-installer.sh
+2
-2
git-flow-version
git-flow-version
+1
-1
gitflow-installer.sh
gitflow-installer.sh
+0
-78
package.json
package.json
+3
-3
flow.js
src/flow.js
+8
-8
No files found.
contrib/gitflow-installer.sh
View file @
1c1ca8ca
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
# git-flow make-less installer for *nix systems, by Rick Osborne
# git-flow make-less installer for *nix systems, by Rick Osborne
# Based on the git-flow core Makefile:
# Based on the git-flow core Makefile:
# http://github.com/
petervanderdoes/gitflow-avh
/blob/master/Makefile
# http://github.com/
dreidev/gitflow
/blob/master/Makefile
# Licensed under the same restrictions as git-flow:
# Licensed under the same restrictions as git-flow:
# http://github.com/
petervanderdoes/gitflow-avh
/blob/develop/LICENSE
# http://github.com/
dreidev/gitflow
/blob/develop/LICENSE
# Updated for the fork at petervanderdoes
# Updated for the fork at petervanderdoes
...
...
git-flow-version
View file @
1c1ca8ca
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#
GITFLOW_VERSION=0.4.
7
GITFLOW_VERSION=0.4.
8
initialize() {
initialize() {
# A function can not be empty. Comments count as empty.
# A function can not be empty. Comments count as empty.
...
...
gitflow-installer.sh
deleted
100644 → 0
View file @
eeb7802b
#!/bin/bash
# git-flow make-less installer for *nix systems, by Rick Osborne
# Based on the git-flow core Makefile:
# http://github.com/nvie/gitflow/blob/master/Makefile
# Licensed under the same restrictions as git-flow:
# http://github.com/nvie/gitflow/blob/develop/LICENSE
# Does this need to be smarter for each host OS?
if
[
-z
"
$INSTALL_PREFIX
"
]
;
then
INSTALL_PREFIX
=
"/usr/local/bin"
fi
if
[
-z
"
$REPO_NAME
"
]
;
then
REPO_NAME
=
"gitflow"
fi
if
[
-z
"
$REPO_HOME
"
]
;
then
REPO_HOME
=
"http://github.com/nvie/gitflow.git"
fi
EXEC_FILES
=
"git-flow"
SCRIPT_FILES
=
"git-flow-init git-flow-feature git-flow-hotfix git-flow-release git-flow-support git-flow-version gitflow-common gitflow-shFlags"
SUBMODULE_FILE
=
"gitflow-shFlags"
echo
"### gitflow no-make installer ###"
case
"
$1
"
in
uninstall
)
echo
"Uninstalling git-flow from
$INSTALL_PREFIX
"
if
[
-d
"
$INSTALL_PREFIX
"
]
;
then
for
script_file
in
$SCRIPT_FILES
$EXEC_FILES
;
do
echo
"rm -vf
$INSTALL_PREFIX
/
$script_file
"
rm
-vf
"
$INSTALL_PREFIX
/
$script_file
"
done
else
echo
"The '
$INSTALL_PREFIX
' directory was not found."
echo
"Do you need to set INSTALL_PREFIX ?"
fi
exit
;;
help
)
echo
"Usage: [environment] gitflow-installer.sh [install|uninstall]"
echo
"Environment:"
echo
" INSTALL_PREFIX=
$INSTALL_PREFIX
"
echo
" REPO_HOME=
$REPO_HOME
"
echo
" REPO_NAME=
$REPO_NAME
"
exit
;;
*
)
echo
"Installing git-flow to
$INSTALL_PREFIX
"
if
[
-d
"
$REPO_NAME
"
-a
-d
"
$REPO_NAME
/.git"
]
;
then
echo
"Using existing repo:
$REPO_NAME
"
else
echo
"Cloning repo from GitHub to
$REPO_NAME
"
git clone
"
$REPO_HOME
"
"
$REPO_NAME
"
fi
if
[
-f
"
$REPO_NAME
/
$SUBMODULE_FILE
"
]
;
then
echo
"Submodules look up to date"
else
echo
"Updating submodules"
lastcwd
=
$PWD
cd
"
$REPO_NAME
"
git submodule init
git submodule update
cd
"
$lastcwd
"
fi
install
-v
-d
-m
0755
"
$INSTALL_PREFIX
"
for
exec_file
in
$EXEC_FILES
;
do
install
-v
-m
0755
"
$REPO_NAME
/
$exec_file
"
"
$INSTALL_PREFIX
"
done
for
script_file
in
$SCRIPT_FILES
;
do
install
-v
-m
0644
"
$REPO_NAME
/
$script_file
"
"
$INSTALL_PREFIX
"
done
exit
;;
esac
package.json
View file @
1c1ca8ca
{
{
"name"
:
"gitflow"
,
"name"
:
"gitflow"
,
"version"
:
"0.4.
7
"
,
"version"
:
"0.4.
8
"
,
"description"
:
"Modified gitflow for dreidev"
,
"description"
:
"Modified gitflow for dreidev"
,
"main"
:
"src/index.js"
,
"main"
:
"src/index.js"
,
"scripts"
:
{
"scripts"
:
{
"post
uninstall"
:
"sudo make uninstall
"
,
"post
install"
:
"curl https://raw.githubusercontent.com/dreidev/gitflow/develop/contrib/gitflow-installer.sh > gitflow-installer.sh; chmod a+x gitflow-installer.sh; sudo bash gitflow-installer.sh install stable
"
,
"post
install"
:
"curl https://raw.githubusercontent.com/dreidev/gitflow/develop/contrib/gitflow-installer.sh > gitflow-installer.sh; chmod a+x gitflow-installer.sh; sudo bash gitflow-installer.sh install stable
"
"post
uninstall"
:
"curl https://raw.githubusercontent.com/dreidev/gitflow/develop/contrib/gitflow-installer.sh > gitflow-installer.sh; chmod a+x gitflow-installer.sh; sudo bash gitflow-installer.sh uninstall
"
},
},
"files"
:
[
"files"
:
[
"src/"
"src/"
...
...
src/flow.js
View file @
1c1ca8ca
...
@@ -5,12 +5,12 @@ const version = require('../package.json').version;
...
@@ -5,12 +5,12 @@ const version = require('../package.json').version;
program
program
.
version
(
version
)
.
version
(
version
)
.
command
(
'
bugfix [options
...
]
'
,
'
Command wrapper for git flow bugfix
'
).
alias
(
'
b
'
)
.
command
(
'
bugfix [options]
'
,
'
Command wrapper for git flow bugfix
'
).
alias
(
'
b
'
)
.
command
(
'
config [options
...
]
'
,
'
Command wrapper for git flow config
'
).
alias
(
'
c
'
)
.
command
(
'
config [options]
'
,
'
Command wrapper for git flow config
'
).
alias
(
'
c
'
)
.
command
(
'
feature [options
...
]
'
,
'
Command wrapper for git flow feature
'
,{
isDefault
:
true
}).
alias
(
'
fwf
'
)
.
command
(
'
feature [options]
'
,
'
Command wrapper for git flow feature
'
,{
isDefault
:
true
}).
alias
(
'
fwf
'
)
.
command
(
'
hotfix [options
...
]
'
,
'
Command wrapper for git flow hotfix
'
).
alias
(
'
h
'
)
.
command
(
'
hotfix [options]
'
,
'
Command wrapper for git flow hotfix
'
).
alias
(
'
h
'
)
.
command
(
'
init [options
...
]
'
,
'
Command wrapper for git flow init
'
).
alias
(
'
i
'
)
.
command
(
'
init [options]
'
,
'
Command wrapper for git flow init
'
).
alias
(
'
i
'
)
.
command
(
'
log [options
...
]
'
,
'
Command wrapper for git flow log
'
).
alias
(
'
l
'
)
.
command
(
'
log [options]
'
,
'
Command wrapper for git flow log
'
).
alias
(
'
l
'
)
.
command
(
'
release [options
...
]
'
,
'
Command wrapper for git release
'
).
alias
(
'
r
'
)
.
command
(
'
release [options]
'
,
'
Command wrapper for git release
'
).
alias
(
'
r
'
)
.
command
(
'
support [options
...
]
'
,
'
Command wrapper for git support
'
).
alias
(
'
s
'
)
.
command
(
'
support [options]
'
,
'
Command wrapper for git support
'
).
alias
(
'
s
'
)
.
parse
(
process
.
argv
);
.
parse
(
process
.
argv
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment