Commit Graph

20 Commits (9538a127406f7b05808c93c23dc966779f6962a0)

Author SHA1 Message Date
Lena 250b9d7c21
scripts: use `[[` instead of `[`, fix literal shell globs (#11290)
* build.sh: move `*` outside quotes (it doesn't get expanded)

* scripts: use `[[` instead of `[` in if statements
2023-10-26 22:11:24 +05:30
K.B.Dharun Krishna e35b482300
scripts: build and deploy PDF pages for translations (#10969)
* scripts: build and deploy PDF pages for translations

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* render.py: fix typo in filename description

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-10-22 02:34:22 +05:30
K.B.Dharun Krishna b333d3d3a5
Revert "scripts: build and deploy PDF pages for translations (#10846)" (#10965)
This reverts commit a2ab577848.
2023-10-13 11:00:58 +05:30
K.B.Dharun Krishna a2ab577848
scripts: build and deploy PDF pages for translations (#10846)
* scrips: build and deploy PDF pages for all languages

* cleanup/render.py: reformat code

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* Apply suggestions from code review

Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>

* scrpts/pdf: update README, refactor code

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* test/ci: building PDF was wildcard

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* test/ci: building translations as wildcard 2

* test/ci: fix flag in PDF building

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* test/ci: update build pdf action

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* test/ci: extend PDF exclusion list

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup/ci: update PDF translation build

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* scripts/pdf: add website and repo link

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* test/ci: move PDF build to seperate script file

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* test/ci: minor fixes to build pdf script

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup/ci: update build PDF

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* scripts: update font family, minor fix

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* fix/deploy: sha256sum command

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
2023-10-13 09:58:02 +05:30
Adam Henley 8aacd0800b
feature support: provide translation archives (#10555)
* Feature Support Download Of Individual Languages By Clients

Signed-off-by: Adam Henley <adamazing@gmail.com>

* Rename language archival step function

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Signed-off-by: Adam Henley <adamazing@gmail.com>
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-08-16 10:39:53 +05:30
Axel Navarro f299711968
scripts/deploy.sh: fix script syntax (#9674) 2022-12-26 18:44:41 +05:30
Matthew Peveler 312ecf8226
scripts/deploy.sh: generate sha256sum of artifacts (#9669) 2022-12-26 08:14:49 -03:00
CleanMachine1 6637acf662
scripts: add SPDX-License-Identifier in files (#6215) 2021-07-16 14:15:31 +01:00
bl-ue d607f853be
scripts/*.sh: set executable permission (#5461)
In most repos, executable shell scripts have the executable bit set.
2021-03-31 00:32:17 +01:00
Owen Voke d1affd5b36
ci: update to use @tldr-bot for deploy (#5288) 2021-02-22 12:45:12 +00:00
Matthew Peveler 44472fb217
ci: add tldr-pages/tldr before commit hash for auto gh linking (#5072)
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2021-01-03 21:48:47 +00:00
Owen Voke 252271c35a ci: add PDF upload to deploy script 2020-12-04 18:48:24 +00:00
Owen Voke 7e3ca9c540 Resolve deploy key from secrets 2020-06-26 18:55:59 +02:00
Owen Voke 81d346f006 Replace 'TRAVIS_COMMIT_RANGE' usage 2020-06-26 18:55:59 +02:00
Owen Voke 7472600aa1 Update Travis references in scripts 2020-06-26 18:55:59 +02:00
Marco Bonelli a188a3a8ca Travis: separate building from deployment.
- Added `-q` to the zip command to create the archive since Travis
  was having trouble handling its very long output (thus making
  the build fail).
- Moved the actual building of the index and the archive from
  deploy.sh to a new build.sh script.
- Added a `script` step in .travis.yml to run build.sh after npm
  test.
- Specified a clone depth of 1 in .travis.yml to make things faster
  since we don't need to do any git operation during the build.
2019-07-11 17:01:05 +05:30
Max Strübing 11289f8a9b [chore] fix use of doublequotes and $(...) notation in deploy script (#3048) 2019-05-23 14:27:29 +01:00
Marco Bonelli 697d8b3b78 deploy: use top-level index.json 2019-04-03 17:21:57 +05:30
Marco Bonelli c3772f2345 Deploy: run all commands separately to avoid unnoticed errors. 2019-02-07 18:47:32 +01:00
Marco Bonelli d83f446a8c Cleaner deployment process (fixes #2749) (#2750)
* TravisCI: cleaner deployment process.

* TravisCI: rename deployment script.
2019-02-04 19:29:17 +05:30