This commit is contained in:
Core 2022-08-04 23:08:57 +01:00
parent ae0e4275ea
commit c2057726ba
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6

View file

@ -16,10 +16,12 @@ jobs:
steps: steps:
- checkout - checkout
- run: - run:
name: Install buildtools name: Install Build Dependencies
command: | command: |
sudo apt-get update sudo dpkg --add-architecture i386
sudo apt-get install -y autoconf automake g++ libtool || true sudo apt-get update -y
sudo apt-get install -y wine64 wine32
sudo apt-get install -y autoconf automake g++ libtool || true
- run: - run:
name: Update Version Number of App name: Update Version Number of App
command: sudo chmod +x resources/version.sh && ./resources/version.sh || true command: sudo chmod +x resources/version.sh && ./resources/version.sh || true
@ -83,12 +85,6 @@ jobs:
steps: steps:
- attach_workspace: - attach_workspace:
at: ~/Cider at: ~/Cider
- run:
name: Install Windows System Build Dependencies
command: |
sudo dpkg --add-architecture i386
sudo apt-get update -y
sudo apt-get install -y wine64 wine32
- run: - run:
name: Generate Builds (Windows) name: Generate Builds (Windows)
command: yarn electron-builder -w --x64 -p never command: yarn electron-builder -w --x64 -p never
@ -106,12 +102,6 @@ jobs:
steps: steps:
- attach_workspace: - attach_workspace:
at: ~/Cider at: ~/Cider
- run:
name: Install Windows System Build Dependencies
command: |
sudo dpkg --add-architecture i386
sudo apt-get update -y
sudo apt-get install -y wine64 wine32
- run: - run:
name: Generate Builds (Winget) name: Generate Builds (Winget)
command: yarn electron-builder --win -c winget.json -p never command: yarn electron-builder --win -c winget.json -p never
@ -155,7 +145,7 @@ jobs:
name: Publish Release name: Publish Release
command: | command: |
echo "Attempting to create release for Cider v${APP_VERSION} on the ${CIRCLE_BRANCH} branch." echo "Attempting to create release for Cider v${APP_VERSION} on the ${CIRCLE_BRANCH} branch."
gh release create "v${APP_VERSION}" --title "Cider Version ${APP_VERSION} (${CIRCLE_BRANCH})" --target "ciderapp/cider@${CIRCLE_SHA1}" --notes "**Beta Release** gh release create "v${APP_VERSION}" --title "Cider Version ${APP_VERSION} (${CIRCLE_BRANCH})" --notes "**Beta Release**
A full changelog is unavailable, but you can view the branch comparison [here](https://github.com/ciderapp/cider/compare/stable...main). A full changelog is unavailable, but you can view the branch comparison [here](https://github.com/ciderapp/cider/compare/stable...main).
These builds are considered bleeding edge, expect bugs and please do not use this as a representation of the full app. These builds are considered bleeding edge, expect bugs and please do not use this as a representation of the full app.
Our full support disclaimer can be found [here](https://docs.cider.sh/support/disclaimer#support-nightly-beta-releases)." -R ciderapp/cider-releases ~/Cider/dist/artifacts/*.deb ~/Cider/dist/artifacts/*.AppImage ~/Cider/dist/artifacts/*.snap ~/Cider/dist/artifacts/*.exe ~/Cider/dist/artifacts/*.yml ~/Cider/dist/artifacts/*.blockmap Our full support disclaimer can be found [here](https://docs.cider.sh/support/disclaimer#support-nightly-beta-releases)." -R ciderapp/cider-releases ~/Cider/dist/artifacts/*.deb ~/Cider/dist/artifacts/*.AppImage ~/Cider/dist/artifacts/*.snap ~/Cider/dist/artifacts/*.exe ~/Cider/dist/artifacts/*.yml ~/Cider/dist/artifacts/*.blockmap
@ -168,32 +158,32 @@ workflows:
filters: filters:
branches: branches:
only: only:
- main - main
- stable - stable
- build-windows: - build-windows:
requires: requires:
- prepare-build - prepare-build
filters: filters:
branches: branches:
only: only:
- main - main
- stable - stable
- build-linux: - build-linux:
requires: requires:
- prepare-build - prepare-build
filters: filters:
branches: branches:
only: only:
- main - main
- stable - stable
- build-winget: - build-winget:
requires: requires:
- prepare-build - prepare-build
filters: filters:
branches: branches:
only: only:
- main - main
- stable - stable
- release: - release:
requires: requires:
- build-windows - build-windows
@ -202,5 +192,5 @@ workflows:
filters: filters:
branches: branches:
only: only:
- main - main
- stable - stable