ソースを参照

Updated release process.

Jeff Lanzarotta 1 年間 前
コミット
170179118e
2 ファイル変更9 行追加58 行削除
  1. 0 50
      .goreleaser.yaml
  2. 9 8
      how_to_release.txt

+ 0 - 50
.goreleaser.yaml

@@ -1,50 +0,0 @@
-version: 2
-project_name: bufexplorer
-
-env_files:
-  # GoReleaser requires an API token with the 'repo' scope selected to deploy
-  # the artifacts to GitHub. You can create one here
-  # https://github.com/settings/tokens/new.
-  github_token: ./github_token
-
-builds:
-
-    #source:
-    #  name_template: '{{ .ProjectName }}-{{ .Version }}'.
-    #  format: "zip"
-    #  files:
-    #    - plugin/bufexplorer.vim
-    #    - doc/bufexplorer.txt
-    #    - LICENSE
-
-source:
-  #
-  name_template: "{{ .ProjectName }}-{{ .Version }}"
-  format: zip
-  files:
-    - plugin/bufexplorer.vim
-    - doc/bufexplorer.txt
-    - LICENSE
-
-archives:
-  - #
-    format: zip
-    name_template: "{{ .ProjectName }}-{{ .Version }}"
-    files:
-      - plugin/bufexplorer.vim
-      - doc/bufexplorer.txt
-      - LICENSE
-
-checksum:
-  name_template: 'checksums.txt'
-
-changelog:
-  use: github-native
-  sort: asc
-  filters:
-    exclude:
-      - README
-
-release:
-  draft: false
-  replace_existing_draft: true

+ 9 - 8
how_to_release.txt

@@ -1,16 +1,17 @@
-https://goreleaser.com/quick-start/
-
 To make a release...
 To make a release...
 
 
-1. Make changes.
-2. Commit and push changes.
-3. git tag -a v7.4.27 -m "Release v7.4.27."
-4. git push origin v7.4.27
-5. goreleaser release --clean
-6. Go to github and make the release.
+1. Make changes
+2. Commit and push changes
+3. git tag -a 7.4.28 -m "Release 7.4.28"
+4. git push origin 7.4.28
+5. set GH_TOKEN environment variable
+6. 7z a bufexplorer-7.4.28.zip plugin\bufexplorer.vim doc\bufexplorer.txt
+7. gh release 7.4.28 --notes-from-tag bufexplorer-7.4.28.zip
 
 
 If something happens and the tag is messed up, you will need to delete the
 If something happens and the tag is messed up, you will need to delete the
 local and remote tag and release again.  To delete the tag:
 local and remote tag and release again.  To delete the tag:
 
 
 1. git tag -d v7.4.27
 1. git tag -d v7.4.27
 2. git push --delete origin v7.4.27
 2. git push --delete origin v7.4.27
+3. Remove the release.
+