Commit cc249524 authored by Jan-Philipp Stauffert's avatar Jan-Philipp Stauffert
Browse files

Update version to reflect new versioning scheme

parent 851ac4c8
name: decker name: decker
version: 0.4.0.0 version: 0.4.1
license: OtherLicense license: OtherLicense
author: "Henrik Tramberend" author: "Henrik Tramberend"
maintainer: "henrik.tramberend@beuth-hochschule.de" maintainer: "henrik.tramberend@beuth-hochschule.de"
......
...@@ -159,7 +159,9 @@ Exchange the `html` at the end of the command with your *decker* command of choi ...@@ -159,7 +159,9 @@ Exchange the `html` at the end of the command with your *decker* command of choi
### Pull requests ### Pull requests
Contributions are accepted via pull requests. Before working on a feature, 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 ### CI build checks
......
...@@ -30,11 +30,11 @@ import Paths_decker (version) ...@@ -30,11 +30,11 @@ import Paths_decker (version)
deckerVersion :: String deckerVersion :: String
deckerVersion = showVersion version deckerVersion = showVersion version
-- | Is this a developement version? Development versions have 4 branches, and -- | Is this a developement version? Production versions have 3 branches, and
-- the 4th branch number is always 0. Release branches have only three. -- the 3rd branch number is always 0.
isDevelopmentVersion :: Bool isDevelopmentVersion :: Bool
isDevelopmentVersion = isDevelopmentVersion =
(length $ versionBranch version) == 4 && (versionBranch version) !! 3 == 0 (length $ versionBranch version) == 3 && (versionBranch version) !! 2 == 0
-- | Tool specific exceptions -- | Tool specific exceptions
data DeckerException data DeckerException
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment