File tree Expand file tree Collapse file tree 3 files changed +1
-23
lines changed
Expand file tree Collapse file tree 3 files changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -188,28 +188,6 @@ jobs:
188188 echo "branch=$REF_NAME" >> $GITHUB_OUTPUT
189189 fi
190190
191- - name : Update package version
192- if : steps.check-changes.outputs.has_changes == 'true'
193- env :
194- PACKAGE_DIR : ${{ steps.package-config.outputs.package_dir }}
195- VERSION : ${{ steps.version.outputs.version }}
196- IS_BETA : ${{ steps.version.outputs.is_beta }}
197- run : |
198- GO_MOD_FILE="i18nify-data/go/$PACKAGE_DIR/go.mod"
199-
200- if [ -f "$GO_MOD_FILE" ]; then
201- # Add version comment to go.mod
202- if [ "$IS_BETA" = "true" ]; then
203- echo "// Beta version: v$VERSION" > "${GO_MOD_FILE}.tmp"
204- else
205- echo "// Release version: v$VERSION" > "${GO_MOD_FILE}.tmp"
206- fi
207- cat "$GO_MOD_FILE" >> "${GO_MOD_FILE}.tmp"
208- mv "${GO_MOD_FILE}.tmp" "$GO_MOD_FILE"
209-
210- echo "Updated go.mod with version: v$VERSION"
211- fi
212-
213191 - name : Commit and push changes (Beta)
214192 if : steps.check-changes.outputs.has_changes == 'true' && steps.version.outputs.is_beta == 'true'
215193 env :
Original file line number Diff line number Diff line change 9494 "symbol" : " EC$" ,
9595 "physical_currency_denominations" : [
9696
97+ " 2" ,
9798 " 5" ,
9899 " 10" ,
99100 " 20" ,
Original file line number Diff line number Diff line change 1- // Beta version: v0.0.1-beta.pr593
21module github.com/razorpay/i18nify/i18nify-data/go/currency
32
43go 1.20
You can’t perform that action at this time.
0 commit comments