Make version number not a universal variable

This commit is contained in:
Ilan Cosman 2020-11-27 09:55:45 -08:00
parent 1f51788879
commit 3874f285a2
3 changed files with 4 additions and 5 deletions

View File

@ -84,9 +84,9 @@ Note that Tide does not use strict semantic versioning.
Todo on release:
- [ ] Update `_tide_version` in install script.
- [ ] Create a commit containing above edit, titled with the version number.
- [ ] Create release on github with information from changelog.
- [ ] Update version number in install `tide.fish`
- [ ] Make a commit containing above edit, titled with the version number
- [ ] Create release on github with information from changelog
[`fish --no-execute`]: https://fishshell.com/docs/current/cmds/fish.html
[`fish_indent`]: https://fishshell.com/docs/current/cmds/fish_indent.html

View File

@ -6,7 +6,6 @@ function _tide_init_install --on-event _tide_init_install
_set_immutable _tide_color_light_blue 00AFFF
_set_immutable _tide_dir "$__fish_config_dir/functions/tide"
_set_immutable _tide_version 2.5.0
_set_immutable NVM_DIR $HOME/.nvm
_set_immutable VIRTUAL_ENV_DISABLE_PROMPT true

View File

@ -2,7 +2,7 @@ function tide
argparse --stop-nonopt 'v/version' 'h/help' -- $argv
if set -q _flag_version
printf '%s\n' "tide, version $_tide_version"
printf '%s\n' "tide, version 2.5.0"
else if set -q _flag_help
_tide_help
else if functions --query _tide_sub_$argv[1]