Skip to content

Commit

Permalink
Update repo name (OctoLinker#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbuck authored Jan 13, 2018
1 parent f80701d commit befe3c5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 15 deletions.
17 changes: 8 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To build and run the extension follow these steps.
1. To build the extension once run `yarn build` or `yarn watch` during development.
1. Load extension https://developer.chrome.com/extensions/getstarted#unpacked.

[CSS]: https://github.com/OctoLinker/browser-extension/commit/ccbefb7
[CSS]: https://github.com/OctoLinker/OctoLinker/commit/ccbefb7

## Architecture Overview

Expand All @@ -49,13 +49,12 @@ The outline above is an extremely simplified version. In real life you have to d

- Run [`npm --no-git-tag-version version patch`](https://docs.npmjs.com/cli/version) to update the version number. Use `minor` or `major` instead of `patch` if needed (see [semver.org](http://semver.org/) for details).
Consider that non-`patch` releases will cause users to receive update notifications, so lean towards a `patch` release for platform-specific stuff.
See [lib/notification.js](https://github.com/OctoLinker/browser-extension/blob/030859292f7ea4e8a3852a876707c22a6fe74d9a/lib/notification.js#L4).
- Open a [pull request](https://github.com/OctoLinker/browser-extension/pulls) with the new version.
See [lib/notification.js](https://github.com/OctoLinker/OctoLinker/blob/030859292f7ea4e8a3852a876707c22a6fe74d9a/lib/notification.js#L4).
- Open a [pull request](https://github.com/OctoLinker/OctoLinker/pulls) with the new version.
- Once the pull request is merged in, tag the resulting commit as `vX.Y.Z` (where `X`, `Y`, `Z` are the major, minor, and patch versions).
- Push the tag to GitHub. This will trigger Travis CI to create a new [GitHub Release](https://github.com/OctoLinker/browser-extension/releases) and submit the new Chrome extension to the Chrome Web Store. See [.travis.yml](https://github.com/OctoLinker/browser-extension/blob/master/.travis.yml) for details.
- Submit `firefox-octolinker-X.Y.Z.zip` from the [GitHub Release](https://github.com/OctoLinker/browser-extension/releases) to [addons.mozilla.org](https://addons.mozilla.org/en-US/developers/addon/octolinker/versions#version-upload). Be sure to include the `Source code (zip)` file from the release as well.
- Submit `opera-octolinker-X.Y.Z.zip` from the [GitHub Release](https://github.com/OctoLinker/browser-extension/releases) to [addons.opera.com](https://addons.opera.com/developer/package/226344/?tab=versions). Afterwards, go to the [Conversation tab](https://addons.opera.com/developer/package/226344/?tab=conversation), add a link to the `Source code (zip)` file and copy/paste the build instructions from previous releases.
- Update release notes at https://github.com/OctoLinker/browser-extension/releases/tag/vX.Y.Z. You can find a list of changes since the previous release at https://github.com/OctoLinker/browser-extension/compare/vA.B.C...vX.Y.Z, where `A.B.C` is the previous version number.
- Push the tag to GitHub. This will trigger Travis CI to create a new [GitHub Release](https://github.com/OctoLinker/OctoLinker/releases) and submit the new Chrome extension to the Chrome Web Store. See [.travis.yml](https://github.com/OctoLinker/OctoLinker/blob/master/.travis.yml) for details.
- Submit `firefox-octolinker-X.Y.Z.zip` from the [GitHub Release](https://github.com/OctoLinker/OctoLinker/releases) to [addons.mozilla.org](https://addons.mozilla.org/en-US/developers/addon/octolinker/versions#version-upload). Be sure to include the `Source code (zip)` file from the release as well.
- Submit `opera-octolinker-X.Y.Z.zip` from the [GitHub Release](https://github.com/OctoLinker/OctoLinker/releases) to [addons.opera.com](https://addons.opera.com/developer/package/226344/?tab=versions). Afterwards, go to the [Conversation tab](https://addons.opera.com/developer/package/226344/?tab=conversation), add a link to the `Source code (zip)` file and copy/paste the build instructions from previous releases.
- Update release notes at https://github.com/OctoLinker/OctoLinker/releases/tag/vX.Y.Z. You can find a list of changes since the previous release at https://github.com/OctoLinker/OctoLinker/compare/vA.B.C...vX.Y.Z, where `A.B.C` is the previous version number.
Consider that non-`patch` releases will cause users to receive update notifications showing the first line of the release notes.
See [lib/notification.js](https://github.com/OctoLinker/browser-extension/blob/030859292f7ea4e8a3852a876707c22a6fe74d9a/lib/notification.js#L4).

See [lib/notification.js](https://github.com/OctoLinker/OctoLinker/blob/030859292f7ea4e8a3852a876707c22a6fe74d9a/lib/notification.js#L4).
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a href="https://chrome.google.com/webstore/detail/octo-linker/jlmafbaeoofdegohdhinkhilhclaklkp"><img src="https://cloud.githubusercontent.com/assets/1393946/15162649/647ca490-1704-11e6-8ed8-ef0674e40fc3.png" width="375"/></a
</p>

# What is OctoLinker? [![Build Status](https://travis-ci.org/OctoLinker/browser-extension.svg?branch=master)](https://travis-ci.org/OctoLinker/browser-extension) [![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/octolinker/browser-extension?svg=true&branch=master)](https://ci.appveyor.com/project/stefanbuck/browser-extension)
# What is OctoLinker? [![Build Status](https://travis-ci.org/OctoLinker/OctoLinker.svg?branch=master)](https://travis-ci.org/OctoLinker/OctoLinker) [![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/octolinker/OctoLinker?svg=true&branch=master)](https://ci.appveyor.com/project/stefanbuck/OctoLinker)


OctoLinker is a browser extension for Chrome, Firefox and Opera which allows you to navigate through code on GitHub more efficiently.
Expand Down Expand Up @@ -54,7 +54,7 @@ Anyone can help make this project better - check out the [Contributing](/CONTRIB

# Feedback please

If you encounter a problem using OctoLinker, or would like to request an enhancement, feel free to create an [issue](https://github.com/OctoLinker/browser-extension/issues) or say hello [@OctoLinker](https://twitter.com/OctoLinker) on twitter.
If you encounter a problem using OctoLinker, or would like to request an enhancement, feel free to create an [issue](https://github.com/OctoLinker/OctoLinker/issues) or say hello [@OctoLinker](https://twitter.com/OctoLinker) on twitter.


# Thanks
Expand Down
2 changes: 1 addition & 1 deletion lib/notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default async function() {

if (installedVersion && installedVersion !== pkgVersion) {
const response = await fetch(
'https://api.github.com/repos/octolinker/browser-extension/releases/latest',
'https://api.github.com/repos/OctoLinker/OctoLinker/releases/latest',
);
const json = await response.json();
const description = json.body.split('\n')[0];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"chrome-open": "yarn build && yarn chrome-launch --",
"chrome-launch": "node scripts/chrome-launch.js",
"firefox-open": "yarn build && yarn firefox-launch --",
"firefox-launch": "web-ext run --source-dir dist --pref startup.homepage_welcome_url=https://github.com/OctoLinker/browser-extension/blob/master/package.json"
"firefox-launch": "web-ext run --source-dir dist --pref startup.homepage_welcome_url=https://github.com/OctoLinker/OctoLinker/blob/master/package.json"
},
"jest": {
"setupFiles": [
Expand Down
3 changes: 1 addition & 2 deletions scripts/chrome-launch.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

const chromeLaunch = require('chrome-launch'); // eslint-disable-line import/no-extraneous-dependencies

const url =
'https://github.com/OctoLinker/browser-extension/blob/master/package.json';
const url = 'https://github.com/OctoLinker/OctoLinker/blob/master/package.json';
const args = ['--load-extension=./dist'];

chromeLaunch(url, { args });
Expand Down

0 comments on commit befe3c5

Please sign in to comment.