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

Add tests and release jobs into drone #5

Merged
merged 9 commits into from
Sep 1, 2020
Merged

Conversation

LukasHirt
Copy link
Contributor

@LukasHirt LukasHirt commented Aug 26, 2020

Steps that should happen:

  • Tests
    • Lint
    • Build
  • Release (on tag)
    • Build
    • Github release
    • NPM release

@LukasHirt LukasHirt self-assigned this Aug 26, 2020
@LukasHirt
Copy link
Contributor Author

This PR is built on top of #2 After it gets merged I'll do a rebase.

@LukasHirt LukasHirt marked this pull request as ready for review August 27, 2020 14:39
@LukasHirt LukasHirt requested a review from micbar August 27, 2020 14:39
@LukasHirt
Copy link
Contributor Author

Had to change the node images because version 12 is having troubles with the module type in package.json (see manuelbieh/geolib#208)

},
'title': ctx.build.ref.replace("refs/tags/v", ""),
'note': 'dist/CHANGELOG.md',
Copy link
Contributor

Choose a reason for hiding this comment

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

You need to build the changelog first. The other alrready built changelog is from another pipeline. Also you need only the changes for that specific tag. Example in https://github.com/owncloud/ocis/blob/master/.drone.star#L565

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see, thanks! I added it.

@LukasHirt
Copy link
Contributor Author

LukasHirt commented Aug 31, 2020

Forgot to add changelog into makefile. Fixed in latest commit.

Had troubles with getting the calens from github so removed it from makefile and used calens image and the command directly in the drone.

@LukasHirt LukasHirt merged commit e09e579 into master Sep 1, 2020
@LukasHirt LukasHirt deleted the drone/release-job branch September 1, 2020 07:37
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.

2 participants