Webpack-cli: Bug: semantic-release script tries to push old tag

Created on 2 May 2018  路  8Comments  路  Source: webpack/webpack-cli

Do you want to request a feature or report a bug?

Bug

What is the current behavior?
The semantic-release npm script seems to push an old tag which could be caused by the loaded Travis cache.

If the current behavior is a bug, please provide the steps to reproduce.

Take a look at the CI builds and see that the semantic-release script pushed old tags.
https://travis-ci.org/webpack/webpack-cli/jobs/373140151#L4934-L4975

What is the expected behavior?
The semantic-release script should use the latest version.

If this is a feature request, what is motivation or use case for changing the behavior?

Please paste the results of webpack-cli info here, and mention other relevant information such as programming language.

Help Wanted Important High enhancement

All 8 comments

This is due to the actual process that we set up in our CI. We are going to change it in the next few days in order to achieve an agreement and set on stone how the release process will work.

The gist is, we want to release through CI in order to automate the shipping of the code. Although we have to make sure that the PRs don't get merged into master. Probably we will switch to a real git flow: merge PRs against develop and merge into master when we are ready to cut a release. Although we will need to change Travis matrix

We have two scenarios, one is to only use matrices, the other one being build steps. Build steps and matrices doesn't work well together.

Hm, what is the better option? I guess build steps for more complex and flexible configurations.

Build steps are nice

ev1stensberg (Even Stensberg) closed this an hour ago

Do we still need build steps?

I don't think so, we've set one up now. If you wanna help out, please have a go at https://github.com/webpack/webpack-cli/issues/471. I'll be here if you need help :+1: Also, that should be submitted to the next branch, not master

Understood, thanks so far.

Started some work on this at #475 .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

r00nscapenab picture r00nscapenab  路  4Comments

anyulled picture anyulled  路  4Comments

luillyfe picture luillyfe  路  4Comments

fokusferit picture fokusferit  路  5Comments

billyjanitsch picture billyjanitsch  路  3Comments