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 f0955b6 commit c0a6846
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/push_lib_widget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ jobs:
if [ $new_version_3 -gt 999 ]; then
new_version_2=$((new_version_2 + 1))
new_version_3=$((new_version_3 % 1000))
if [ $new_version_2 -gt 99 ]; then
new_version_1=$((new_version_1 + 1))
new_version_2=$((new_version_2 % 100))
fi
fi
formatted_version_1=$(printf "%d" "$new_version_1")
formatted_version_2=$(printf "%d" "$new_version_2")
formatted_version_2=$(printf "%02d" "$new_version_2")
formatted_version_3=$(printf "%03d" "$new_version_3")
echo "new_version_1=$formatted_version_1" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion lib/widget/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GROUP=io.github.DangoDX
POM_ARTIFACT_ID=lib_base
VERSION_NAME=12.20.999
VERSION_NAME=1.0.2

SONATYPE_HOST=S01
RELEASE_SIGNING_ENABLED=true
Expand Down

0 comments on commit c0a6846

Please sign in to comment.