forked from signalapp/Signal-Desktop
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #951 from loki-project/clearnet
Merge into Master; prep for v1.0.3
- Loading branch information
Showing
129 changed files
with
2,055 additions
and
2,460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# This script will run tests anytime a pull request is added | ||
name: Session Test | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- development | ||
- clearnet | ||
- github-actions | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows-2016, macos-latest, ubuntu-latest] | ||
env: | ||
SIGNAL_ENV: production | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- run: git config --global core.autocrlf false | ||
|
||
- name: Checkout git repo | ||
uses: actions/checkout@v1 | ||
|
||
- name: Install node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.13.0 | ||
|
||
- name: Setup node for windows | ||
if: runner.os == 'Windows' | ||
run: | | ||
npm install --global --production windows-build-tools@4.0.0 | ||
npm install --global node-gyp@latest | ||
npm config set python python2.7 | ||
npm config set msvs_version 2015 | ||
- name: Install yarn | ||
run: npm install yarn --no-save | ||
|
||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Generate and concat files | ||
run: yarn generate | ||
|
||
- name: Lint Files | ||
run: | | ||
yarn format-full --list-different | ||
yarn eslint | ||
yarn tslint | ||
- name: Make linux use en_US locale | ||
if: runner.os == 'Linux' | ||
run: | | ||
sudo apt-get install -y hunspell-en-us | ||
sudo locale-gen en_US.UTF-8 | ||
sudo dpkg-reconfigure locales | ||
echo ::set-env name=DISPLAY:::9.0 | ||
echo ::set-env name=LANG::en_US.UTF-8 | ||
- name: Test | ||
uses: GabrielBB/xvfb-action@v1.0 | ||
with: | ||
run: yarn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Releasing | ||
|
||
Creating a new Session Desktop release is very simple. | ||
|
||
1. Bump up the version in `package.json`. | ||
2. Merge all changes required into the `master` branch. | ||
* This will trigger github actions to start building a draft release | ||
3. After github actions has finished building. Go to Release page in the repository. | ||
4. Click on the draft release and change the tag target to `master`. | ||
5. Add in release notes. | ||
6. Generate gpg signatures. | ||
7. Click publish release. | ||
|
||
## Notes | ||
|
||
Artifacts attached in the release shouldn't be deleted! These include the yml files (latest, latest-mac, latest-linux). These are all necessary to get auto updating to work correctly. | ||
|
||
### Mac | ||
|
||
Mac currently uses 2 formats `dmg` and `zip`. | ||
We need the `zip` format for auto updating to work correctly. | ||
We also need the `dmg` because on MacOS Catalina, there is a system bug where extracting the artifact `zip` using the default _Archive Utility_ will make it so the extracted application is invalid and it will fail to open. A work around for this is to extract the `zip` using an alternate program such as _The Unarchiver_. | ||
|
||
Once this bug is fixed we can go back to using the `zip` format by itself. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.