Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
decker
decker
Commits
cc249524
Commit
cc249524
authored
Sep 12, 2018
by
Jan-Philipp Stauffert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update version to reflect new versioning scheme
parent
851ac4c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
package.yaml
package.yaml
+1
-1
readme.md
readme.md
+3
-1
src/Common.hs
src/Common.hs
+3
-3
No files found.
package.yaml
View file @
cc249524
name
:
decker
version
:
0.4.
0.0
version
:
0.4.
1
license
:
OtherLicense
author
:
"
Henrik
Tramberend"
maintainer
:
"
henrik.tramberend@beuth-hochschule.de"
...
...
readme.md
View file @
cc249524
...
...
@@ -159,7 +159,9 @@ Exchange the `html` at the end of the command with your *decker* command of choi
### Pull requests
Contributions are accepted via pull requests. Before working on a feature,
please write up an issue and discuss it with the other developers.
please write up an issue and discuss it with the other developers.
For each implemented feature, increment the version number in
`package.yaml`
.
Breaking changes increment the second number. Fixes increment the third number.
### CI build checks
...
...
src/Common.hs
View file @
cc249524
...
...
@@ -30,11 +30,11 @@ import Paths_decker (version)
deckerVersion
::
String
deckerVersion
=
showVersion
version
-- | Is this a developement version?
Development
versions have
4
branches, and
-- the
4th
branch number is always 0.
Release branches have only three.
-- | Is this a developement version?
Production
versions have
3
branches, and
-- the
3rd
branch number is always 0.
isDevelopmentVersion
::
Bool
isDevelopmentVersion
=
(
length
$
versionBranch
version
)
==
4
&&
(
versionBranch
version
)
!!
3
==
0
(
length
$
versionBranch
version
)
==
3
&&
(
versionBranch
version
)
!!
2
==
0
-- | Tool specific exceptions
data
DeckerException
...
...
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