Skip to content

Add version to scope#76

Open
hackal wants to merge 1 commit into
masterfrom
add-version
Open

Add version to scope#76
hackal wants to merge 1 commit into
masterfrom
add-version

Conversation

@hackal

@hackal hackal commented Sep 2, 2018

Copy link
Copy Markdown
Owner

No description provided.

@lukasotocerny

Copy link
Copy Markdown
Collaborator

How about doing this in build step so that we have it automatically?

this.model.$version = process.env.TRAVIS_TAG

So that on release it gets populated with the tag number. https://docs.travis-ci.com/user/environment-variables/#default-environment-variables

@hackal

hackal commented Sep 8, 2018

Copy link
Copy Markdown
Owner Author

@lukasotocerny yes this sounds amazing. How can I test it? Could I just use your example and see what happens? :)

@martindzejky

Copy link
Copy Markdown

Any updates on this? This could be very helpful in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants