Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local build showing different format than CI build #67

Open
st-h opened this issue Aug 19, 2018 · 0 comments
Open

local build showing different format than CI build #67

st-h opened this issue Aug 19, 2018 · 0 comments

Comments

@st-h
Copy link

st-h commented Aug 19, 2018

If I trigger build on gitlab, I end up with an artifact which always shows the version + a part of the commit hash like 0.3.4+05bab3e2

If I build locally I get the short version like 0.3.4

hbs:

{{app-version versionOnly=true}}

command is ember build --environment production in both cases

What I noticed is that the builds artifacts differ in their index.html. Both have a meta tag which contains the version information. However the CI seems to populate the version field with data from package.json and the local build seems to use the git tag. The code_version field is identical on both. Just noticed because I was using a new tag but kept the previous version in package.json

Any ideas what might be happening or how to get the short format without the commit hash within the CI build on gitlab?

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

No branches or pull requests

1 participant