chore: bump version to 1.0.1 and add script to update them automatically.

pull/128/head
Muhammad Atif Ali 1 year ago
parent 38a2d86376
commit 82a2d59c14

@ -14,7 +14,7 @@ tags: [helper]
```hcl
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.0"
version = "1.0.1"
}
```
@ -29,7 +29,7 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/):
```hcl
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
extensions = [
"dracula-theme.theme-dracula"
@ -46,7 +46,7 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte
```hcl
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
extensions = [ "dracula-theme.theme-dracula" ]
settings = {
@ -62,7 +62,7 @@ Run code-server in the background, don't fetch it from GitHub:
```hcl
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
offline = true
}

@ -17,7 +17,7 @@ e.g.
```hcl
module "code-server" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.main.id
}
```

@ -17,7 +17,7 @@ Customize the preselected parameter value:
```hcl
module "aws-region" {
source = "registry.coder.com/modules/aws-region/coder"
version = "1.0.0"
version = "1.0.1"
default = "us-east-1"
}
@ -37,7 +37,7 @@ Change the display name and icon for a region using the corresponding maps:
```hcl
module "aws-region" {
source = "registry.coder.com/modules/aws-region/coder"
version = "1.0.0"
version = "1.0.1"
default = "ap-south-1"
custom_names = {
"ap-south-1": "Awesome Mumbai!"
@ -61,7 +61,7 @@ Hide the Asia Pacific regions Seoul and Osaka:
```hcl
module "aws-region" {
source = "registry.coder.com/modules/aws-region/coder"
version = "1.0.0"
version = "1.0.1"
exclude = [ "ap-northeast-2", "ap-northeast-3" ]
}

@ -14,7 +14,7 @@ This module adds a parameter with all Azure regions, allowing developers to sele
```hcl
module "azure_region" {
source = "registry.coder.com/modules/azure-region/coder"
version = "1.0.0"
version = "1.0.1"
default = "eastus"
}
@ -34,7 +34,7 @@ Change the display name and icon for a region using the corresponding maps:
```hcl
module "azure-region" {
source = "registry.coder.com/modules/azure-region/coder"
version = "1.0.0"
version = "1.0.1"
custom_names = {
"australia": "Go Australia!"
}
@ -57,7 +57,7 @@ Hide all regions in Australia except australiacentral:
```hcl
module "azure-region" {
source = "registry.coder.com/modules/azure-region/coder"
version = "1.0.0"
version = "1.0.1"
exclude = [
"australia",
"australiacentral2",

@ -14,7 +14,7 @@ Automatically install [code-server](https://github.com/coder/code-server) in a w
```hcl
module "code-server" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
}
```
@ -28,9 +28,9 @@ module "code-server" {
```hcl
module "code-server" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
install_version = "4.8.3"
install_version = "1.0.1"
}
```
@ -41,7 +41,7 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/):
```hcl
module "code-server" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
extensions = [
"dracula-theme.theme-dracula"
@ -58,7 +58,7 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte
```hcl
module "settings" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
extensions = [ "dracula-theme.theme-dracula" ]
settings = {
@ -74,7 +74,7 @@ Just run code-server in the background, don't fetch it from GitHub:
```hcl
module "settings" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
extensions = [ "dracula-theme.theme-dracula", "ms-azuretools.vscode-docker" ]
}
@ -87,7 +87,7 @@ Just run code-server in the background, don't fetch it from GitHub:
```hcl
module "settings" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
offline = true
}

@ -14,7 +14,7 @@ Automatically logs the user into Coder when creating their workspace.
```hcl
module "coder-login" {
source = "registry.coder.com/modules/coder-login/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
}
```

@ -14,7 +14,7 @@ Allow developers to optionally bring their own [dotfiles repository](https://dot
```hcl
module "dotfiles" {
source = "registry.coder.com/modules/dotfiles/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
}
```

@ -17,7 +17,7 @@ Customize the preselected parameter value:
```hcl
module "exoscale-instance-type" {
source = "registry.coder.com/modules/exoscale-instance-type/coder"
version = "1.0.0"
version = "1.0.1"
default = "standard.medium"
}
@ -45,7 +45,7 @@ Change the display name a type using the corresponding maps:
```hcl
module "exoscale-instance-type" {
source = "registry.coder.com/modules/exoscale-instance-type/coder"
version = "1.0.0"
version = "1.0.1"
default = "standard.medium"
custom_names = {
"standard.medium": "Mittlere Instanz" # German translation
@ -77,7 +77,7 @@ Show only gpu1 types
```hcl
module "exoscale-instance-type" {
source = "registry.coder.com/modules/exoscale-instance-type/coder"
version = "1.0.0"
version = "1.0.1"
default = "gpu.large"
type_category = ["gpu"]
exclude = [

@ -17,7 +17,7 @@ Customize the preselected parameter value:
```hcl
module "exoscale-zone" {
source = "registry.coder.com/modules/exoscale-zone/coder"
version = "1.0.0"
version = "1.0.1"
default = "ch-dk-2"
}
@ -44,7 +44,7 @@ Change the display name and icon for a zone using the corresponding maps:
```hcl
module "exoscale-zone" {
source = "registry.coder.com/modules/exoscale-zone/coder"
version = "1.0.0"
version = "1.0.1"
default = "at-vie-1"
custom_names = {
"at-vie-1": "Home Vienna"
@ -74,7 +74,7 @@ Hide the Switzerland zones Geneva and Zurich
```hcl
module "exoscale-zone" {
source = "registry.coder.com/modules/exoscale-zone/coder"
version = "1.0.0"
version = "1.0.1"
exclude = [ "ch-gva-2", "ch-dk-2" ]
}

@ -14,7 +14,7 @@ A file browser for your workspace.
```hcl
module "filebrowser" {
source = "registry.coder.com/modules/filebrowser/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
}
```
@ -28,7 +28,7 @@ module "filebrowser" {
```hcl
module "filebrowser" {
source = "registry.coder.com/modules/filebrowser/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
folder = "/home/coder/project"
}
@ -39,7 +39,7 @@ module "filebrowser" {
```hcl
module "filebrowser" {
source = "registry.coder.com/modules/filebrowser/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
database_path = ".config/filebrowser.db"
}

@ -16,7 +16,7 @@ We can use the simplest format here, only adding a default selection as the `atl
```hcl
module "fly-region" {
source = "registry.coder.com/modules/fly-region/coder"
version = "1.0.0"
version = "1.0.1"
default = "atl"
}
```
@ -32,7 +32,7 @@ The regions argument can be used to display only the desired regions in the Code
```hcl
module "fly-region" {
source = "registry.coder.com/modules/fly-region/coder"
version = "1.0.0"
version = "1.0.1"
default = "ams"
regions = ["ams", "arn", "atl"]
}
@ -47,7 +47,7 @@ Set custom icons and names with their respective maps.
```hcl
module "fly-region" {
source = "registry.coder.com/modules/fly-region/coder"
version = "1.0.0"
version = "1.0.1"
default = "ams"
custom_icons = {
"ams" = "/emojis/1f90e.png"

@ -14,7 +14,7 @@ This module adds Google Cloud Platform regions to your Coder template.
```hcl
module "gcp_region" {
source = "registry.coder.com/modules/gcp-region/coder"
version = "1.0.0"
version = "1.0.1"
regions = ["us", "europe"]
}
@ -34,7 +34,7 @@ Note: setting `gpu_only = true` and using a default region without GPU support,
```hcl
module "gcp_region" {
source = "registry.coder.com/modules/gcp-region/coder"
version = "1.0.0"
version = "1.0.1"
default = ["us-west1-a"]
regions = ["us-west1"]
gpu_only = false
@ -50,7 +50,7 @@ resource "google_compute_instance" "example" {
```hcl
module "gcp_region" {
source = "registry.coder.com/modules/gcp-region/coder"
version = "1.0.0"
version = "1.0.1"
regions = ["europe-west"]
single_zone_per_region = false
}
@ -65,7 +65,7 @@ resource "google_compute_instance" "example" {
```hcl
module "gcp_region" {
source = "registry.coder.com/modules/gcp-region/coder"
version = "1.0.0"
version = "1.0.1"
regions = ["us", "europe"]
gpu_only = true
single_zone_per_region = true

@ -14,7 +14,7 @@ This module allows you to automatically clone a repository by URL and skip if it
```hcl
module "git-clone" {
source = "registry.coder.com/modules/git-clone/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
url = "https://github.com/coder/coder"
}
@ -35,7 +35,7 @@ data "coder_git_auth" "github" {
```hcl
module "git-clone" {
source = "registry.coder.com/modules/git-clone/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
url = "https://github.com/coder/coder"
path = "~/projects/coder/coder"

@ -19,7 +19,7 @@ This module has a chance of conflicting with the user's dotfiles / the personali
```hcl
module "git-commit-signing" {
source = "registry.coder.com/modules/git-commit-signing/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
}
```

@ -14,7 +14,7 @@ Runs a script that updates git credentials in the workspace to match the user's
```hcl
module "git-config" {
source = "registry.coder.com/modules/git-config/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
}
```
@ -28,7 +28,7 @@ TODO: Add screenshot
```hcl
module "git-config" {
source = "registry.coder.com/modules/git-config/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
allow_email_change = true
}
@ -41,7 +41,7 @@ TODO: Add screenshot
```hcl
module "git-config" {
source = "registry.coder.com/modules/git-config/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
allow_username_change = false
allow_email_change = false

@ -14,7 +14,7 @@ This module adds a JetBrains Gateway Button to open any workspace with a single
```hcl
module "jetbrains_gateway" {
source = "registry.coder.com/modules/jetbrains-gateway/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
folder = "/home/coder/example"
jetbrains_ides = ["GO", "WS", "IU", "PY", "PS", "CL", "RM"]
@ -31,7 +31,7 @@ module "jetbrains_gateway" {
```hcl
module "jetbrains_gateway" {
source = "registry.coder.com/modules/jetbrains-gateway/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
folder = "/home/coder/example"
jetbrains_ides = ["GO", "WS"]

@ -19,7 +19,7 @@ Install the JF CLI and authenticate package managers with Artifactory using OAut
```hcl
module "jfrog" {
source = "registry.coder.com/modules/jfrog-oauth/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
jfrog_url = "https://jfrog.example.com"
username_field = "username" # If you are using GitHub to login to both Coder and Artifactory, use username_field = "username"
@ -87,7 +87,7 @@ Configure the Python pip package manager to fetch packages from Artifactory whil
```hcl
module "jfrog" {
source = "registry.coder.com/modules/jfrog-oauth/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
jfrog_url = "https://jfrog.example.com"
auth_method = "oauth"
@ -115,7 +115,7 @@ The [JFrog extension](https://open-vsx.org/extension/JFrog/jfrog-vscode-extensio
```hcl
module "jfrog" {
source = "registry.coder.com/modules/jfrog-oauth/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
jfrog_url = "https://jfrog.example.com"
username_field = "username" # If you are using GitHub to login to both Coder and Artifactory, use username_field = "username"

@ -15,7 +15,7 @@ Install the JF CLI and authenticate package managers with Artifactory using Arti
```hcl
module "jfrog" {
source = "registry.coder.com/modules/jfrog-token/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
jfrog_url = "https://XXXX.jfrog.io"
artifactory_access_token = var.artifactory_access_token
@ -48,7 +48,7 @@ variable "artifactory_access_token" {
```hcl
module "jfrog" {
source = "registry.coder.com/modules/jfrog-token/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
jfrog_url = "https://YYYY.jfrog.io"
artifactory_access_token = var.artifactory_access_token # An admin access token
@ -81,7 +81,7 @@ The [JFrog extension](https://open-vsx.org/extension/JFrog/jfrog-vscode-extensio
```hcl
module "jfrog" {
source = "registry.coder.com/modules/jfrog-token/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
jfrog_url = "https://XXXX.jfrog.io"
artifactory_access_token = var.artifactory_access_token

@ -16,7 +16,7 @@ A module that adds Jupyter Notebook in your Coder template.
```hcl
module "jupyter-notebook" {
source = "registry.coder.com/modules/jupyter-notebook/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
}
```

@ -16,7 +16,7 @@ A module that adds JupyterLab in your Coder template.
```hcl
module "jupyterlab" {
source = "registry.coder.com/modules/jupyterlab/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
}
```

@ -4,7 +4,8 @@
"test": "bun test",
"fmt": "bun x prettier --plugin prettier-plugin-sh -w **/*.sh .sample/run.sh new.sh **/*.ts **/*.md *.md && terraform fmt **/*.tf .sample/main.tf",
"fmt:ci": "bun x prettier --plugin prettier-plugin-sh --check **/*.sh .sample/run.sh new.sh **/*.ts **/*.md *.md && terraform fmt -check **/*.tf .sample/main.tf",
"lint": "bun run lint.ts"
"lint": "bun run lint.ts",
"update-version": "LATEST_TAG=$(git describe --abbrev=0 --tags | sed 's/^v//') && find . -name 'README.md' -exec sed -i \"s/version\\s*=\\s*\\\"[0-9]*\\.[0-9]*\\.[0-9]*\\\"/version = \\\"$LATEST_TAG\\\"/g\" {} \\;"
},
"devDependencies": {
"bun-types": "^1.0.18",
@ -15,4 +16,4 @@
"peerDependencies": {
"typescript": "^5.3.3"
}
}
}

@ -14,7 +14,7 @@ Run a script on workspace start that allows developers to run custom commands to
```hcl
module "personalize" {
source = "registry.coder.com/modules/personalize/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
}
```

@ -57,7 +57,7 @@ slackme npm run long-build
```hcl
module "slackme" {
source = "registry.coder.com/modules/slackme/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
auth_provider_id = "slack"
}
@ -73,7 +73,7 @@ slackme npm run long-build
```hcl
module "slackme" {
source = "registry.coder.com/modules/slackme/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
auth_provider_id = "slack"
slack_message = <<EOF

@ -14,7 +14,7 @@ This module lets you authenticate with [Hashicorp Vault](https://www.vaultprojec
```hcl
module "vault" {
source = "registry.coder.com/modules/vault-github/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
vault_addr = "https://vault.example.com"
}
@ -45,7 +45,7 @@ To configure the Vault module, you must set up a Vault GitHub auth method. See t
```hcl
module "vault" {
source = "registry.coder.com/modules/vault-github/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
vault_addr = "https://vault.example.com"
coder_github_auth_id = "my-github-auth-id"
@ -57,7 +57,7 @@ module "vault" {
```hcl
module "vault" {
source = "registry.coder.com/modules/vault-github/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
vault_addr = "https://vault.example.com"
coder_github_auth_id = "my-github-auth-id"
@ -70,9 +70,9 @@ module "vault" {
```hcl
module "vault" {
source = "registry.coder.com/modules/vault-github/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
vault_addr = "https://vault.example.com"
vault_cli_version = "1.15.0"
vault_cli_version = "1.0.1"
}
```

@ -16,7 +16,7 @@ Uses the [Coder Remote VS Code Extension](https://github.com/coder/vscode-coder)
```hcl
module "vscode" {
source = "registry.coder.com/modules/vscode-desktop/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
}
```
@ -28,7 +28,7 @@ module "vscode" {
```hcl
module "vscode" {
source = "registry.coder.com/modules/vscode-desktop/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
folder = "/home/coder/project"
}

@ -14,7 +14,7 @@ Automatically install [Visual Studio Code Server](https://code.visualstudio.com/
```hcl
module "vscode-web" {
source = "registry.coder.com/modules/vscode-web/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
accept_license = true
}
@ -29,7 +29,7 @@ module "vscode-web" {
```hcl
module "vscode-web" {
source = "registry.coder.com/modules/vscode-web/coder"
version = "1.0.0"
version = "1.0.1"
agent_id = coder_agent.example.id
install_dir = "/home/coder/.vscode-web"
folder = "/home/coder"

Loading…
Cancel
Save