Skip to content

Instantly share code, notes, and snippets.

@kvaps
Last active January 16, 2020 08:30
Show Gist options
  • Save kvaps/5f9fb6a3eea32be905c66ac5c95a7d38 to your computer and use it in GitHub Desktop.
Save kvaps/5f9fb6a3eea32be905c66ac5c95a7d38 to your computer and use it in GitHub Desktop.
local job = {
script: ['echo 123'],
only: { refs: ['tags'] },
};
local ref(x) = { only+: { refs+: [x] } };
job + ref('prod')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment