Safer deploy version names
Huh, I was previously using ISO timestamps, but it turns out Yarn doesn't handle binary paths very reliably when your folder names contain colons 😳 so `canvas` was failing with `node-gyp not found` I've documented it here in this self-answered StackOverflow question, so hopefully the next future person searching will find my answer! https://stackoverflow.com/q/69819597/107415
This commit is contained in:
parent
fb5b0fe611
commit
a3859b36bf
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
when: not skip_build
|
when: not skip_build
|
||||||
|
|
||||||
- name: Generate a version name from the current timestamp
|
- name: Generate a version name from the current timestamp
|
||||||
command: date '+%Y-%m-%dT%H:%M:%S'
|
command: date '+%Y-%m-%d-%s'
|
||||||
register: new_app_version
|
register: new_app_version
|
||||||
|
|
||||||
- name: Print out the new version name
|
- name: Print out the new version name
|
||||||
|
|
Loading…
Reference in a new issue