Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 606cd0f

Browse files
authored
Merge pull request #3205 from input-output-hk/adiemand/bump_versions_in_cabal_files
bumping version in all cabal files; script adapted
2 parents ac9f0cb + 51939ef commit 606cd0f

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

scripts/haskell/update-cabal-versions.sh

+4-22
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,9 @@ function updateVersion() {
1111
sed -E -i -e "s/^(version\\:\\s+)(.+)/\\1$newVersion/" "$1"
1212
}
1313

14-
updateVersion auxx/cardano-sl-auxx.cabal
15-
updateVersion binary/cardano-sl-binary.cabal
16-
updateVersion block/cardano-sl-block.cabal
17-
updateVersion client/cardano-sl-client.cabal
18-
updateVersion core/cardano-sl-core.cabal
19-
updateVersion crypto/cardano-sl-crypto.cabal
20-
updateVersion db/cardano-sl-db.cabal
21-
updateVersion delegation/cardano-sl-delegation.cabal
22-
updateVersion explorer/cardano-sl-explorer.cabal
23-
updateVersion generator/cardano-sl-generator.cabal
24-
updateVersion infra/cardano-sl-infra.cabal
25-
updateVersion lib/cardano-sl.cabal
26-
updateVersion lrc/cardano-sl-lrc.cabal
27-
updateVersion node/cardano-sl-node.cabal
28-
updateVersion networking/cardano-sl-networking.cabal
29-
updateVersion ssc/cardano-sl-ssc.cabal
30-
updateVersion tools/cardano-sl-tools.cabal
31-
updateVersion txp/cardano-sl-txp.cabal
32-
updateVersion update/cardano-sl-update.cabal
33-
updateVersion util/cardano-sl-util.cabal
34-
updateVersion wallet/cardano-sl-wallet.cabal
35-
updateVersion wallet/cardano-sl-wallet-new.cabal
14+
for CB in `git ls-files '*/cardano-*.cabal'`; do
15+
echo " ${CB}"
16+
updateVersion ${CB}
17+
done
3618

3719
echo "Updated to version $newVersion"

0 commit comments

Comments
 (0)