Commit Graph

9 Commits (2abff92b7be16162745908ddbb7fcb8878c9aa6b)

Author SHA1 Message Date
Robin 46c005a5d3
Don't hardcode /bin/bash in scripts (#23740)
Some operating systems, such as NixOS, don't place binaries in /bin. The appropriate cross-platform method is to use /usr/bin/env.
2022-11-09 09:58:06 -05:00
James Salter b0abbfacd4
Fix Docker build versioning (#20077)
* Centralise version scripts and fix Docker version
* Refactor generation of a git-hash-based version into get-version-from-git
* Refactor normalization of versions (stripping leading v) into normalize-version.sh
* Call get-version-from-git from ci_package.sh, call normalize-version from package.sh
* Refactor docker-write-version.sh into docker-package.sh, which both writes the
  version file and invokes yarn build passing VERSION
* Normalize the version received from the server
2021-12-07 15:11:01 +11:00
J. Ryan Stinnett 14c23f1387 Remove old `-d` argument when packaging on CI
This `-d` argument was removed from `package.sh` ages ago
(ec66069e96), but we seem to have missed removing
it here.
2021-04-19 15:45:16 +01:00
J. Ryan Stinnett 6583064cb4 A few additional packaging changes
This renames a few more packaging bits to match the new brand.

Fixes https://github.com/vector-im/element-web/issues/14896
2020-11-24 15:38:48 +00:00
Resynth 79f70e00d0 Update scripts/ci_package.sh
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2020-07-17 13:04:55 +01:00
Resynth 2c83458f35 Update ci_package.sh 2020-07-17 13:04:03 +01:00
Travis Ralston 909fddb732 Don't minifiy builds of develop through CI packaging
Fixes https://github.com/vector-im/riot-web/issues/11864

This uses an environment variable because the build script assumes you want a production build, but we don't for this particular script. To avoid having a mess of NPM scripts to worry about, we'll just pass a flag down.
2020-01-15 12:19:45 -07:00
David Baker afc2b48073 combine sets 2019-04-26 12:22:32 +01:00
David Baker 1b8583fa51 Change jenkins script to package script
Take the useful part of the jenkins script and put it in a script
that makes a package with the git hashes as its version.
2019-04-26 11:25:41 +01:00