question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Versioning, deployment improvements

See original GitHub issue

I’ll preface by saying that the current setup (deploy every push to master) works well for me and I prefer it over manually creating tags/releases.

I do however have two wishes:

  • limit to one release per day
  • shorter version numbers (17.7.8 instead of 17.7.8.1317)

Travis recently added a daily cronjob feature which we could use to implement daily deployment, but it runs regardless of changes.

These changes are possible but we need two pieces:

  • something that stops Travis as soon as it sees no new commits since the last build (which might not be exactly 24 hours before)
  • something that stores the previous version in Travis’ cache (seems possible) as y.m.d and automatically bumps it to y.m.d.1 if multiple builds happen in the same day

Ideas? Have you seen such packages? Know how to do this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
sindresorhuscommented, Jul 10, 2017

I would prefer to use a hosted service unless we really can’t. I hate doing DevOps and we have better things to spend our time on than manage a Jenkins instance.

1reaction
sindresorhuscommented, Jul 9, 2017

@bfred-it I think we should just go with the daily cronjob right now and we can figure out how to only release when there are new commits later on.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is versioning and how does it work? - TechTarget
Learn how versioning is used for the creation and management of multiple releases of a product that reflect the revisions and improvements made...
Read more >
Semantic Versioning with Continuous Deployment - ploeh blog
When you use Semantic Versioning with Continuous Deployment, version numbers must be checked into source control systems by programmers.
Read more >
Benefits of Versioning your Software | Post | AWH
For people who need to know what has been newly introduced in a deployment or release version, the ideal solution would allow them...
Read more >
The Ultimate Guide to Microservices Versioning Best Practices
These deployment styles ensure gradual rollout but inevitably require more than one version of a service to run in production at once.
Read more >
The Ultimate Guide to Database Version Control, CI/CD, and ...
Learn all about database version control and automated database deployment in this guide, including how to set it up, why, and many ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found