Skip to content

Commit c38ae38

Browse files
committed
Release v0.4.0
1 parent 3c9b650 commit c38ae38

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Flutter Version Manager [![fvm version](https://img.shields.io/badge/version-v0.3.0-40d0fd.svg)][2]
1+
# Flutter Version Manager [![fvm version](https://img.shields.io/badge/version-v0.4.0-40d0fd.svg)][2]
22

33
Inspired by [nvm](https://github.com/nvm-sh/nvm)
44

@@ -67,10 +67,10 @@ Simple as that!
6767

6868
To **install** or **update** fvm, you should run the [install script][1]. To do that, you may either download and run the script manually, or use the following cURL or Wget command:
6969
```sh
70-
curl -o- https://raw.githubusercontent.com/fvm-sh/fvm/v0.3.0/install.sh | bash
70+
curl -o- https://raw.githubusercontent.com/fvm-sh/fvm/v0.4.0/install.sh | bash
7171
```
7272
```sh
73-
wget -qO- https://raw.githubusercontent.com/fvm-sh/fvm/v0.3.0/install.sh | bash
73+
wget -qO- https://raw.githubusercontent.com/fvm-sh/fvm/v0.4.0/install.sh | bash
7474
```
7575

7676
Running either of the above commands downloads a script and runs it. The script clones the fvm repository to `~/.fvm`, and attempts to add the source lines from the snippet below to the correct profile file (`~/.bash_profile`, `~/.zshrc`, `~/.profile`, or `~/.bashrc`).
@@ -158,7 +158,7 @@ If you have `git` installed (requires git v1.7.10+):
158158

159159
1. clone this repo in the root of your user profile
160160
- `cd ~/` from anywhere then `git clone https://github.com/fvm-sh/fvm.git .fvm`
161-
1. `cd ~/.fvm` and check out the latest version with `git checkout v0.3.0`
161+
1. `cd ~/.fvm` and check out the latest version with `git checkout v0.4.0`
162162
1. activate `fvm` by sourcing it from your shell: `. ./fvm.sh`
163163

164164
Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:
@@ -272,14 +272,14 @@ IDEs usually need flutter sdk path to provide services, you can create a soft li
272272
``` sh
273273
fvm link 3.3.8
274274
```
275-
This will link installed 3.3.8 version path to `.flutter/sdk` under current directory.
275+
This will link installed 3.3.8 version path to `.fvm/flutter` under current directory.
276276

277277
Then you can config IDEs (like VS Code) with this soft link:
278278

279279
.vscode/settings.json
280280
``` json
281281
{
282-
"dart.flutterSdkPath": ".flutter/sdk",
282+
"dart.flutterSdkPath": ".fvm/flutter",
283283
}
284284
```
285285
## Environment variables
@@ -368,8 +368,8 @@ You have to make sure that the user directory name in `$HOME` and the user direc
368368

369369
To change the user directory and/or account name follow the instructions [here](https://support.apple.com/en-us/HT201548)
370370

371-
[1]: https://github.com/fvm-sh/fvm/blob/v0.3.0/install.sh
372-
[2]: https://github.com/fvm-sh/fvm/releases/tag/v0.3.0
371+
[1]: https://github.com/fvm-sh/fvm/blob/v0.4.0/install.sh
372+
[2]: https://github.com/fvm-sh/fvm/releases/tag/v0.4.0
373373

374374
**Homebrew makes zsh directories unsecure**
375375

fvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ fvm() {
664664
fvm_echo '```' >> ".fvm/README.md"
665665
;;
666666
"--version" | "-v")
667-
fvm_echo 'v0.3.0'
667+
fvm_echo 'v0.4.0'
668668
;;
669669
"deactivate")
670670
local FVM_GLOBAL

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fvm_install_dir() {
3333
}
3434

3535
fvm_latest_version() {
36-
fvm_echo "v0.3.0"
36+
fvm_echo "v0.4.0"
3737
}
3838

3939
fvm_profile_is_bash_or_zsh() {

0 commit comments

Comments
 (0)