#release-engineering - January 2021

January 2021
loren
lorenalmost 6 years ago
would folks be interested in a build-harness pr that runs the init logic automatically? been playing with it in my own project, and seems to work. kinda abusing the include directive 😄
hairyhenderson
hairyhendersonalmost 6 years ago
@hairyhenderson has joined the channel
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 6 years ago
Igor Rodionov
Igor Rodionovalmost 6 years ago
Hello.
Does anyone use Github deployment API ?
loren
lorenalmost 6 years ago(edited)
TIL about make .... can't normally override target-specific vars from envs through a sub-make:
$ cat Makefile
foo: FOO ?= foo
foo:
        @echo "[$@]: FOO=$(FOO)"

test:
        @echo "[$@]: FOO=$(FOO)"
        @$(MAKE) -s foo

$ FOO=bar make test
[test]: FOO=bar
[foo]: FOO=foo

If you want that to work, you have to export the target-specific var:
$ cat Makefile
foo: export FOO ?= foo  ## <==== only change!
foo:
        @echo "[$@]: FOO=$(FOO)"

test:
        @echo "[$@]: FOO=$(FOO)"
        @$(MAKE) -s foo

$ FOO=bar make test
[test]: FOO=bar
[foo]: FOO=bar

Andrew Nazarov
Andrew Nazarovalmost 6 years ago
What do you think about tagging every commit landed to master ? In other words, whenever a new commit is merged/pushed to master a new version of the app is created.