openedx / openedx-atlas

An Open edX CLI tool for moving translation files from openedx-translations
GNU Affero General Public License v3.0
3 stars 7 forks source link

feat: add --version flag for external debugging #27

Closed OmarIthawi closed 1 year ago

OmarIthawi commented 1 year ago

Use as $ atlas --version which prints the tag version e.g. v0.1.1.

This workflow relies on the release.yml GitHub Action, otherwise $ atlas --version will print unreleased.

I might add https://github.com/semantic-release/semantic-release to this repo later on, but it's not yet on my priorities.

This contribution is part of the FC-0012 project which is sparked by the Translation Infrastructure update OEP-58.

TODO

_ATLAS_VERSION="v0.1.2"  # Tagged by release.yml
    disp    _ATLAS_VERSION  --version
        echo "${_ATLAS_VERSION}"
brian-smith-tcril commented 1 year ago

@OmarIthawi the code here looks good, but I see you still have some unchecked todos. I think those are definitely things we should verify on this repo after merging this, but before merging it'd probably be good to verify on a fork.

OmarIthawi commented 1 year ago

@OmarIthawi the code here looks good, but I see you still have some unchecked todos. I think those are definitely things we should verify on this repo after merging this, but before merging it'd probably be good to verify on a fork.

Thanks @brian-smith-tcril for the reminder about the fork. I've done that and it looks good!