-
Notifications
You must be signed in to change notification settings - Fork 0
/
diario-de-bordo.sh
52 lines (38 loc) · 1.62 KB
/
diario-de-bordo.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/sh
# shellcheck disable=SC2164
echo 'cat diario-de-bordo.sh'
exit 0
#### VSCode install ____________________________________________________________
# @see https://code.visualstudio.com/download
# @see https://snapcraft.io/code
#### Dependencies ______________________________________________________________
# Fixes 'snapcraft is not installed, please: sudo snap install snapcraft --classic'
sudo snap install snapcraft --classic
# ??? 'macaroon-authorization-required: The request is missing an Authorization header field containing a valid macaroon'
#### Example code install: szwacz-electron-boilerplate _________________________
# _[por-Latn]
# No momento atual, 2021-10-24, tem-se várias opções. Vamos escolher uma.
# [por-Latn]_
git clone https://github.com/szwacz/electron-boilerplate.git szwacz-electron-boilerplate
rm -fr szwacz-electron-boilerplate/.git
cd szwacz-electron-boilerplate
# Dependencies
yarn install
# Run on a window
yarn run e2e
# Run on a window
yarn run start
### Release
yarn run release
ls dist/
# builder-debug.yml builder-effective-config.yaml electron-boilerplate_0.0.0_amd64.snap 'Electron Boilerplate-0.0.0.AppImage' linux-unpacked
####
# Para commitar com outro usuário
# $ GIT_COMMITTER_NAME="eticaaibot" GIT_COMMITTER_EMAIL="[email protected]" git commit --author="eticaaibot <[email protected]>" (...)
# $ GIT_COMMITTER_NAME="eticaaibot" GIT_COMMITTER_EMAIL="[email protected]" git commit --author="eticaaibot <[email protected]>" -m 'v0.3.5'
#
# Create a tag (no need to commit)
# $ git tag v0.3.5
#
# $ git push origin tag v0.3.5
# $ git push