diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c9a696..c8e5b42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,12 @@ on: tags: - '*' +env: + APPLE_ID: ${{ secrets.APPLE_ID }} + TEAM_ID: ${{ secrets.TEAM_ID }} + APP_SPECIFIC_PWD: ${{ secrets.APP_SPECIFIC_PWD }} + SIGNING_IDENTITY: ${{ secrets.SIGNING_IDENTITY }} + jobs: build-macos: runs-on: macos-14 diff --git a/scripts/Dots.entitlements b/scripts/Dots.entitlements new file mode 100644 index 0000000..384b033 --- /dev/null +++ b/scripts/Dots.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.cs.allow-jit + + com.apple.security.automation.apple-events + + + \ No newline at end of file diff --git a/scripts/build-macos.sh b/scripts/build-macos.sh index c1688dd..335b021 100644 --- a/scripts/build-macos.sh +++ b/scripts/build-macos.sh @@ -1,6 +1,10 @@ cd .. version=$(cat version.txt) cd /Users/runner/work/Dots/Dots/src/ +echo "setting and in Dots.csproj to $version" +sed -i '' "s/CFBundleVersion>.*$version.*$version in Dots.csproj to $version" +sed -i '' "s/Version>.*$versionnet8.0 WinExe Assets/appicon.ico + 2.0.0 diff --git a/version.txt b/version.txt index 359a5b9..f93ea0c 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.0 \ No newline at end of file +2.0.2 \ No newline at end of file