diff --git a/.github/workflows/codacy.yml b/.github/workflows/codacy.yml index f41d5f2..9c09424 100644 --- a/.github/workflows/codacy.yml +++ b/.github/workflows/codacy.yml @@ -19,6 +19,7 @@ on: pull_request: branches: [ "main" ] + permissions: contents: read diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 137dc57..e11679b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,10 +41,10 @@ jobs: exit 1 fi - - name: Checkout to the [master] + - name: Checkout to the [main] run: | - if git branch -a | grep -qw "origin/master"; then - git checkout master + if git branch -a | grep -qw "origin/main"; then + git checkout main else echo "No known branch found!" exit 1 @@ -61,4 +61,4 @@ jobs: git add ./_run/values/ver.txt git commit -m "actions [$new_version] "$'\n'"Build: [${{ env.BUILD_VER }}] >> [$new_version]" - git push origin HEAD:master + git push origin HEAD:main diff --git a/_run/values/ver.txt b/_run/values/ver.txt index f252462..03ac640 100644 --- a/_run/values/ver.txt +++ b/_run/values/ver.txt @@ -1 +1 @@ -v0.0.12 +v0.0.13 diff --git a/const.go b/const.go index 89ded35..199d700 100644 --- a/const.go +++ b/const.go @@ -3,10 +3,10 @@ package sys const ( GlobalName string = "fReadSYS" GlobalDateUpdate string = "07-26-2024" - GlobalHash string = "03e3c104a6b280214727400925bcfebf8db90f3d" + GlobalHash string = "cd89048ffd03260b78fb8f03059c22f8427c6017" - GlobalVersion string = "v0.0.12" + GlobalVersion string = "v0.0.13" GlobalVersionMajor string = "v0" GlobalVersionMinor uint16 = 0 - GlobalVersionPatch uint16 = 12 + GlobalVersionPatch uint16 = 13 )