Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
orangekame3 committed Oct 8, 2023
1 parent 8d2e352 commit a79a62c
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ brews:
token: "{{ .Env.TAP_GITHUB_TOKEN }}"

winget:
- name: cobra-template
- name: gitfetch
publisher: orangekame3
license: "mit"
copyright: Takafumi Miyanaga
short_description: A template for creating package using cobra.
path: manifests/orangekame3/cobra-template
path: manifests/orangekame3/gitfetch
repository:
owner: orangekame3
name: winget-pkgs
Expand Down
22 changes: 11 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# Changelog

## [v0.0.11](https://github.com/orangekame3/cobra-template/compare/v0.0.10...v0.0.11) - 2023-10-07
## [v0.0.11](https://github.com/orangekame3/gitfetch/compare/v0.0.10...v0.0.11) - 2023-10-07

## [v0.0.10](https://github.com/orangekame3/cobra-template/compare/v0.0.9...v0.0.10) - 2023-10-07
## [v0.0.10](https://github.com/orangekame3/gitfetch/compare/v0.0.9...v0.0.10) - 2023-10-07

## [v0.0.9](https://github.com/orangekame3/cobra-template/compare/v0.0.8...v0.0.9) - 2023-10-07
## [v0.0.9](https://github.com/orangekame3/gitfetch/compare/v0.0.8...v0.0.9) - 2023-10-07

## [v0.0.8](https://github.com/orangekame3/cobra-template/compare/v0.0.7...v0.0.8) - 2023-10-07
## [v0.0.8](https://github.com/orangekame3/gitfetch/compare/v0.0.7...v0.0.8) - 2023-10-07

## [v0.0.7](https://github.com/orangekame3/cobra-template/compare/v0.0.6...v0.0.7) - 2023-10-07
## [v0.0.7](https://github.com/orangekame3/gitfetch/compare/v0.0.6...v0.0.7) - 2023-10-07

## [v0.0.6](https://github.com/orangekame3/cobra-template/compare/v0.0.5...v0.0.6) - 2023-10-07
## [v0.0.6](https://github.com/orangekame3/gitfetch/compare/v0.0.5...v0.0.6) - 2023-10-07

## [v0.0.5](https://github.com/orangekame3/cobra-template/compare/v0.0.4...v0.0.5) - 2023-10-07
## [v0.0.5](https://github.com/orangekame3/gitfetch/compare/v0.0.4...v0.0.5) - 2023-10-07

## [v0.0.4](https://github.com/orangekame3/cobra-template/compare/v0.0.3...v0.0.4) - 2023-10-07
## [v0.0.4](https://github.com/orangekame3/gitfetch/compare/v0.0.3...v0.0.4) - 2023-10-07

## [v0.0.3](https://github.com/orangekame3/cobra-template/compare/v0.0.2...v0.0.3) - 2023-10-07
## [v0.0.3](https://github.com/orangekame3/gitfetch/compare/v0.0.2...v0.0.3) - 2023-10-07

## [v0.0.2](https://github.com/orangekame3/cobra-template/compare/v0.0.1...v0.0.2) - 2023-10-07
## [v0.0.2](https://github.com/orangekame3/gitfetch/compare/v0.0.1...v0.0.2) - 2023-10-07

## [v0.0.1](https://github.com/orangekame3/cobra-template/commits/v0.0.1) - 2023-10-04
## [v0.0.1](https://github.com/orangekame3/gitfetch/commits/v0.0.1) - 2023-10-04
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# cobra-template
# gitfetch

## Install

### Go

```shell
go install github.com/orangekame3/cobra-template@latest
go install github.com/orangekame3/gitfetch@latest
```

### Homebrew

```shell
brew install orangekame3/tap/cobra-template
brew install orangekame3/tap/gitfetch
```
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "cobra-template",
Use: "gitfetch",
Short: "A brief description of your application",
Long: `A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:
Expand Down Expand Up @@ -60,7 +60,7 @@ func init() {
// Cobra supports persistent flags, which, if defined here,
// will be global for your application.

// rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.cobra-template.yaml)")
// rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.gitfetch.yaml)")

// Cobra also supports local flags, which will only run
// when this action is called directly.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/orangekame3/cobra-template
module github.com/orangekame3/gitfetch

go 1.21.0

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ package main
import (
"time"

"github.com/orangekame3/cobra-template/cmd"
"github.com/orangekame3/gitfetch/cmd"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions win-installer.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

BASE_URL="https://raw.githubusercontent.com/orangekame3/winget-pkgs/main/manifests/g/orangekame3/cobra-template"
FILES=("orangekame3.cobra-template.yaml" "orangekame3.cobra-template.installer.yaml" "orangekame3.cobra-template.locale.en-US.yaml")
BASE_URL="https://raw.githubusercontent.com/orangekame3/winget-pkgs/main/manifests/g/orangekame3/gitfetch"
FILES=("orangekame3.gitfetch.yaml" "orangekame3.gitfetch.installer.yaml" "orangekame3.gitfetch.locale.en-US.yaml")

mkdir -p ./tmp

Expand Down
6 changes: 3 additions & 3 deletions winget-installer.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$BASE_URL = "https://raw.githubusercontent.com/orangekame3/winget-pkgs/main/manifests/g/orangekame3/cobra-template"
$FILES = @("orangekame3.cobra-template.yaml", "orangekame3.cobra-template.installer.yaml", "orangekame3.cobra-template.locale.en-US.yaml")
$BASE_URL = "https://raw.githubusercontent.com/orangekame3/winget-pkgs/main/manifests/g/orangekame3/gitfetch"
$FILES = @("orangekame3.gitfetch.yaml", "orangekame3.gitfetch.installer.yaml", "orangekame3.gitfetch.locale.en-US.yaml")

if (-not (Test-Path ./tmp)) {
New-Item -ItemType Directory -Path ./tmp
Expand All @@ -9,7 +9,7 @@ foreach ($file in $FILES) {
Invoke-WebRequest -Uri "$BASE_URL/$file" -OutFile "./tmp/$file"
}

winget install -m ./tmp/orangekame3.cobra-template.yaml
winget install -m ./tmp/orangekame3.gitfetch.yaml


foreach ($file in $FILES) {
Expand Down

0 comments on commit a79a62c

Please sign in to comment.