Read project version from composer.json #16
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "moiety/version-number"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This reads the version number from
composer.json
. This enables any cached css files to automatically to be discarded on release of a new version.My PHP knowledge is a tad limited, if there’s a better place to put the variable calculation let me know; happy to move it.
323027896c
to60ff517358
I honestly don't know what the best practice is for this scenario, so this works for me.
If we need to change it later, we will.
WIP: Read project version from composer.jsonto Read project version from composer.json60ff517358
tob061aebae5
b061aebae5
to0e5b786f58
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.