Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv2v
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
lvzhengyang
sv2v
Commits
1c741784
Commit
1c741784
authored
Jun 24, 2023
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use the tag alone as the version for future releases
parent
6082cae4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/Job.hs
+2
-2
No files found.
src/Job.hs
View file @
1c741784
...
@@ -12,7 +12,7 @@ import Control.Monad (when)
...
@@ -12,7 +12,7 @@ import Control.Monad (when)
import
Data.Char
(
toLower
)
import
Data.Char
(
toLower
)
import
Data.List
(
isPrefixOf
,
isSuffixOf
)
import
Data.List
(
isPrefixOf
,
isSuffixOf
)
import
Data.Version
(
showVersion
)
import
Data.Version
(
showVersion
)
import
GitHash
(
gi
Describe
,
tGitInfoCwdTry
)
import
GitHash
(
gi
Tag
,
tGitInfoCwdTry
)
import
qualified
Paths_sv2v
(
version
)
import
qualified
Paths_sv2v
(
version
)
import
System.IO
(
stderr
,
hPutStr
)
import
System.IO
(
stderr
,
hPutStr
)
import
System.Console.CmdArgs
import
System.Console.CmdArgs
...
@@ -54,7 +54,7 @@ data Job = Job
...
@@ -54,7 +54,7 @@ data Job = Job
}
deriving
(
Typeable
,
Data
)
}
deriving
(
Typeable
,
Data
)
version
::
String
version
::
String
version
=
either
(
const
backup
)
gi
Describe
$$
tGitInfoCwdTry
version
=
either
(
const
backup
)
gi
Tag
$$
tGitInfoCwdTry
where
backup
=
showVersion
Paths_sv2v
.
version
where
backup
=
showVersion
Paths_sv2v
.
version
defaultJob
::
Job
defaultJob
::
Job
...
...
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