diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index ed306c2..da536ca 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -103,7 +103,7 @@ jobs: ANDROID_RELEASE_KEY_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_PASSWORD }} run: | # Sets the build timestamp to the current commit to make builds reproducible - export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%at"`" + export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%ct"`" ${{ github.workspace }}/android/gradlew assembleRelease mkdir -p ${{ github.workspace }}/upload/android @@ -119,7 +119,7 @@ jobs: ANDROID_RELEASE_KEY_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_PASSWORD }} run: | # Sets the build timestamp to the current commit to make builds reproducible - export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%at"`" + export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%ct"`" # export CARGO_NDK_ANDROID_TARGET="arm64-v8a" sed -i "s/targets = [\"[a-z_0-9, ]*\"]/targets = [\"arm64\"]/" ${{ github.workspace }}/android/app/build.gradle @@ -139,7 +139,7 @@ jobs: ANDROID_RELEASE_KEY_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_PASSWORD }} run: | # Sets the build timestamp to the current commit to make builds reproducible - export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%at"`" + export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%ct"`" # export CARGO_NDK_ANDROID_TARGET="armeabi-v7a" sed -i "s/targets = [\"[a-z_0-9, ]*\"]/targets = [\"arm\"]/" ${{ github.workspace }}/android/app/build.gradle @@ -159,7 +159,7 @@ jobs: ANDROID_RELEASE_KEY_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_PASSWORD }} run: | # Sets the build timestamp to the current commit to make builds reproducible - export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%at"`" + export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%ct"`" # export CARGO_NDK_ANDROID_TARGET="x86" sed -i "s/targets = [\"[a-z_0-9, ]*\"]/targets = [\"x86\"]/" ${{ github.workspace }}/android/app/build.gradle @@ -179,7 +179,7 @@ jobs: ANDROID_RELEASE_KEY_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_PASSWORD }} run: | # Sets the build timestamp to the current commit to make builds reproducible - export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%at"`" + export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%ct"`" # export CARGO_NDK_ANDROID_TARGET="x86_64" sed -i "s/targets = [\"[a-z_0-9, ]*\"]/targets = [\"x86_64\"]/" ${{ github.workspace }}/android/app/build.gradle diff --git a/.github/workflows/build-gh-pages.yml b/.github/workflows/build-gh-pages.yml index b9e28d9..01c654c 100644 --- a/.github/workflows/build-gh-pages.yml +++ b/.github/workflows/build-gh-pages.yml @@ -81,7 +81,7 @@ jobs: - name: Build Engine (Release) run: | # Sets the build timestamp to the current commit to make builds reproducible - export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%at"`" + export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%ct"`" $HOME/.cargo/bin/cargo build --target wasm32-unknown-unknown --verbose --release --lib diff --git a/.github/workflows/build-linux-gnu-x86_64-appimage.yml b/.github/workflows/build-linux-gnu-x86_64-appimage.yml index 78d1d56..934e756 100644 --- a/.github/workflows/build-linux-gnu-x86_64-appimage.yml +++ b/.github/workflows/build-linux-gnu-x86_64-appimage.yml @@ -91,7 +91,7 @@ jobs: source ${{ github.workspace }}/.build-scripts/exports/tools.sh # Sets the build timestamp to the current commit to make builds reproducible - export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%at"`" + export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%ct"`" # Release is already specified by cargo appimage # https://github.com/StratusFearMe21/cargo-appimage/issues/30 diff --git a/.github/workflows/build-linux-musl-x86_64.yml b/.github/workflows/build-linux-musl-x86_64.yml index d34a688..42ce70d 100644 --- a/.github/workflows/build-linux-musl-x86_64.yml +++ b/.github/workflows/build-linux-musl-x86_64.yml @@ -74,7 +74,7 @@ jobs: - name: Build Engine Server Only run: | # Sets the build timestamp to the current commit to make builds reproducible - export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%at"`" + export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%ct"`" $HOME/.cargo/bin/cargo build --verbose --target=x86_64-unknown-linux-musl --release --bin catgirl-engine --no-default-features --features server,logging-subscriber diff --git a/.github/workflows/build-wasm32-unknown-unknown.yml b/.github/workflows/build-wasm32-unknown-unknown.yml index acc0244..88ca0d0 100644 --- a/.github/workflows/build-wasm32-unknown-unknown.yml +++ b/.github/workflows/build-wasm32-unknown-unknown.yml @@ -67,7 +67,7 @@ jobs: - name: Build Engine (Release) run: | # Sets the build timestamp to the current commit to make builds reproducible - export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%at"`" + export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%ct"`" $HOME/.cargo/bin/cargo build --target wasm32-unknown-unknown --verbose --release --lib # Generate Bindings diff --git a/.github/workflows/build-windows-gnu-x86_64.yml b/.github/workflows/build-windows-gnu-x86_64.yml index 3437e0e..0030de5 100644 --- a/.github/workflows/build-windows-gnu-x86_64.yml +++ b/.github/workflows/build-windows-gnu-x86_64.yml @@ -84,14 +84,14 @@ jobs: - name: Build Engine Client/Server run: | # Sets the build timestamp to the current commit to make builds reproducible - export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%at"`" + export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%ct"`" $HOME/.cargo/bin/cargo build --verbose --target=x86_64-pc-windows-gnu --release --bin catgirl-engine # Compile Program - name: Build Engine Server Only run: | # Sets the build timestamp to the current commit to make builds reproducible - export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%at"`" + export SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%ct"`" export CARGO_TARGET_DIR="${{ github.workspace }}/.server-target" $HOME/.cargo/bin/cargo build --verbose --target=x86_64-pc-windows-gnu --release --bin catgirl-engine --no-default-features --features server,logging-subscriber diff --git a/build-all.sh b/build-all.sh index ff2581d..0fe742b 100755 --- a/build-all.sh +++ b/build-all.sh @@ -13,7 +13,7 @@ SCRIPT_DIR=`dirname "$SCRIPT"` PROJECT_ROOT=$SCRIPT_DIR # Build Vars -SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%at"`" +SOURCE_DATE_EPOCH="`git --no-pager log -1 --format="%ct"`" PATH="$PROJECT_ROOT/.tools:$PATH" PATH="$PROJECT_ROOT/.tools/butler:$PATH"