Skip to content

Commit

Permalink
feat: Config
Browse files Browse the repository at this point in the history
  • Loading branch information
dango2887 committed Aug 30, 2023
1 parent 84e6c2d commit cabdf33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/push_lib_widget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id: generate_version
run: |
# Generate a new version code based on the previous one
prev_version=$(grep "VERSION_FIX" lib/widget/gradle.properties | grep -o '[0-9]\+$')
prev_version=$(grep "VERSION_NAME" lib/widget/gradle.properties | grep -o '[0-9]\+$')
new_version=$((prev_version + 1))
formatted_version=$(printf "%04d" "$new_version")
echo "$formatted_version"
Expand Down

0 comments on commit cabdf33

Please sign in to comment.