Open-Systems-Pharmacology / OSPSuite-R

R package for the OSPSuite
https://www.open-systems-pharmacology.org/OSPSuite-R/
Other
29 stars 12 forks source link

Version incrementation in main-workflow.yaml #1476

Closed Yuri05 closed 3 months ago

Yuri05 commented 3 months ago

In the last workflow run the version was properly incremented from 12.1.0.9000 to 12.1.0.9001 and commited: https://github.com/Open-Systems-Pharmacology/OSPSuite-R/blob/1a5e1931bb030ced71aee0a5dede936413789b86/DESCRIPTION#L4

However the created artifact still has the version 12.1.0.9000 (and indeed contains the package version 12.1.0.9000).

In the workflow the incrementation of the version is the very first step, so not sure why this happens.

Felixmil commented 3 months ago

It looks like the R CMD actions checkouts the merge commit instead of the last one (the version bump):

Here is the commit that is fetched: image

Here is the last commit list image

I will look into the checkout action parameters to make sure to get the last commit.