Skip to content

Commit 53ad654

Browse files
committed
Add scripts to increment version number
1 parent ea88984 commit 53ad654

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cd "$( dirname "${BASH_SOURCE[0]}" )"
2+
cd ..
3+
perl -i -pe 's/\b(\d+)(?=.\d+")/$1+1/e' FigmaExport.podspec
4+
perl -i -pe 's/\b(\d+)(?=.\d+")/$1+1/e' ./Sources/FigmaExport/Subcommands/VersionOptions.swift
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cd "$( dirname "${BASH_SOURCE[0]}" )"
2+
cd ..
3+
perl -i -pe 's/\b(\d+)(?=\D*$)/$1+1/e' FigmaExport.podspec
4+
perl -i -pe 's/\b(\d+)(?=\D*$)/$1+1/e' ./Sources/FigmaExport/Subcommands/VersionOptions.swift

0 commit comments

Comments
 (0)