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

Auto publish #1080

Merged
merged 1 commit into from
Nov 13, 2019
Merged

Auto publish #1080

merged 1 commit into from
Nov 13, 2019

Conversation

chancancode
Copy link
Member

@chancancode chancancode commented Nov 13, 2019

- name: Build
run: yarn ember build --environment production
- name: Pack
run: |
VERSION="$(jq -r '.version | split("+") | .[0]' package.json)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this taking the version from package.json? If so, would this be the wrong version since it's always one minor version higher?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems correct. If it's a nightly, the package.json version has already been amended in the previous step with "-alpha.($date)+($sha)", if it is a tag, so long as the directions to not bump the version in package.json were followed, the version should be correct.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rwwagner90 yeah, it will be the version on master but only for nightly builds and as @kategengler said it will have the alpha and date stamp on it, so today’s would be v3.13.0-alpha.2019.11.14+abcdef. Anyway; this particular step just have to match what yarn pack decides to name the gzip file, which is taken from package.json (but excluding the +...).

@chancancode chancancode merged commit 334e387 into master Nov 13, 2019
@chancancode chancancode deleted the auto-publish branch November 13, 2019 19:09
chancancode added a commit that referenced this pull request Nov 13, 2019
This should have been included in #1080, it was needed for the npm
publishing step.
chancancode added a commit that referenced this pull request Nov 13, 2019
This should have been included in #1080, it was needed for the npm
publishing step.
wycats pushed a commit that referenced this pull request Nov 13, 2019
This should have been included in #1080, it was needed for the npm
publishing step.

(cherry picked from commit 32fb3e2)
wycats pushed a commit that referenced this pull request Nov 13, 2019
nummi pushed a commit to nummi/ember-inspector that referenced this pull request Apr 1, 2020
nummi pushed a commit to nummi/ember-inspector that referenced this pull request Apr 1, 2020
This should have been included in emberjs#1080, it was needed for the npm
publishing step.
nummi pushed a commit to nummi/ember-inspector that referenced this pull request Apr 5, 2020
nummi pushed a commit to nummi/ember-inspector that referenced this pull request Apr 5, 2020
This should have been included in emberjs#1080, it was needed for the npm
publishing step.
patricklx pushed a commit to patricklx/ember-inspector that referenced this pull request Sep 19, 2022
patricklx pushed a commit to patricklx/ember-inspector that referenced this pull request Sep 19, 2022
This should have been included in emberjs#1080, it was needed for the npm
publishing step.
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