We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 814ce98 commit 31bab07Copy full SHA for 31bab07
src/Spago/Version.hs
@@ -99,6 +99,7 @@ bumpVersion
99
-> RIO env ()
100
bumpVersion dryRun spec = do
101
newBowerConfig <- Bower.generateBowerJson
102
+ oldConfig <- readTextFile Bower.path
103
104
Git.requireCleanWorkingTree
105
@@ -112,6 +113,8 @@ bumpVersion dryRun spec = do
112
113
Bower.runBowerInstall
114
clean <- Git.hasCleanWorkingTree
115
unless clean $ do
116
+ logDebug $ display oldConfig
117
+ logDebug $ display newBowerConfig
118
die [ "A new " <> Bower.path <> " has been generated. Please commit this and run `bump-version` again." ]
119
120
let tagAction = DryAction
0 commit comments