Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: plumthedev/cutter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.0
Choose a base ref
...
head repository: plumthedev/cutter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.0.1
Choose a head ref

Commits on Oct 28, 2020

  1. Fix releases by Travis CI.

    Kacper Pruszyński committed Oct 28, 2020
    Copy the full SHA
    9f202d9 View commit details
  2. Remove Travis CI config warnings and errors.

    Kacper Pruszyński committed Oct 28, 2020
    Copy the full SHA
    1ecf1d9 View commit details
  3. 1.0.1

    Fix releases by Travis CI.
    plumthedev authored Oct 28, 2020
    Copy the full SHA
    76d98cc View commit details
  4. Change deploy release on from tags to branch master.

    Kacper Pruszyński committed Oct 28, 2020
    Copy the full SHA
    c4eea4c View commit details
  5. 1.0.2

    Change deploy release on from tags to branch master.
    plumthedev authored Oct 28, 2020
    Copy the full SHA
    87bf253 View commit details
  6. Fix before deploy scripts.

    Kacper Pruszyński committed Oct 28, 2020
    Copy the full SHA
    a0dfb9d View commit details
  7. Fix before deploy scripts.

    Kacper Pruszyński committed Oct 28, 2020
    Copy the full SHA
    d67dd95 View commit details
  8. Merge pull request #5 from plumthedev/feature/configure-travis-ci

    Fix before deploy scripts.
    plumthedev authored Oct 28, 2020
    Copy the full SHA
    ce7cf6e View commit details

Commits on Oct 29, 2020

  1. Fix before deploy scripts.

    Kacper Pruszyński committed Oct 29, 2020
    Copy the full SHA
    ac5626c View commit details
  2. 1.0.1

    Improve deploy process.
    plumthedev authored Oct 29, 2020
    Copy the full SHA
    7c167cf View commit details

Commits on Oct 31, 2020

  1. Add bin scripts.

    Kacper Pruszyński committed Oct 31, 2020
    Copy the full SHA
    53b8417 View commit details
  2. Change Travis CI config to use a bin scripts and variables.

    Kacper Pruszyński committed Oct 31, 2020
    Copy the full SHA
    e2f707e View commit details
  3. Improve prepare-release.sh script.

    Kacper Pruszyński committed Oct 31, 2020
    Copy the full SHA
    1ffc84a View commit details
  4. Add changelog.

    Kacper Pruszyński committed Oct 31, 2020
    Copy the full SHA
    fe72f19 View commit details
  5. Merge pull request #7 from plumthedev/feature/add-bin-scripts

    Improve Travis Continuous Integration
    plumthedev authored Oct 31, 2020
    Copy the full SHA
    11109c3 View commit details
  6. Bump patch version.

    Kacper Pruszyński committed Oct 31, 2020
    Copy the full SHA
    b121f39 View commit details
  7. Copy the full SHA
    239c7c8 View commit details
  8. Update changelog to version 1.0.1

    Kacper Pruszyński committed Oct 31, 2020
    Copy the full SHA
    06606db View commit details
  9. Update changelog to version 1.0.1

    Kacper Pruszyński committed Oct 31, 2020
    Copy the full SHA
    48ee27a View commit details
  10. Add a homepage URL to package.json

    Kacper Pruszyński committed Oct 31, 2020
    Copy the full SHA
    2d9514c View commit details
  11. Merge remote-tracking branch 'origin/rc/1.0.1' into rc/1.0.1

    # Conflicts:
    #	changelog.md
    Kacper Pruszyński committed Oct 31, 2020
    Copy the full SHA
    b7b6096 View commit details
  12. 1.0.1

    Release 1.0.1
    plumthedev authored Oct 31, 2020
    Copy the full SHA
    f0823ff View commit details
Showing with 58 additions and 7 deletions.
  1. +14 −5 .travis.yml
  2. +7 −0 bin/prepare-release.sh
  3. +12 −0 bin/variables.sh
  4. +22 −0 changelog.md
  5. +2 −1 package.json
  6. +1 −1 public/manifest.json
19 changes: 14 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
language: node_js
os: linux
dist: xenial
node_js:
- "12"
cache:
directories:
- "node_modules"
before_install: |-
source ./bin/variables.sh
before_deploy: |-
chmod +x ./bin/prepare-release.sh
./bin/prepare-release.sh
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file: "dist"
skip_cleanup: true
token: $GITHUB_OAUTH_TOKEN
name: $RELEASE_NAME
tag_name: $RELEASE_TAG_NAME
file: $RELEASE_FILE
cleanup: false
on:
tags: true
branch: master
script:
- npm build
- npm run build
7 changes: 7 additions & 0 deletions bin/prepare-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# Copy build directory to release directory
cp -R "$PACKAGE_BUILD_DIRECTORY" "$RELEASE_DIRECTORY"

# Create release archive from release directory
zip -r "$RELEASE_FILE" "$RELEASE_DIRECTORY"
12 changes: 12 additions & 0 deletions bin/variables.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

# Package details
export PACKAGE_NAME="cutter"
export PACKAGE_VERSION="1.0.1"
export PACKAGE_BUILD_DIRECTORY="dist"

# Travis CI - release
export RELEASE_NAME=$PACKAGE_VERSION
export RELEASE_TAG_NAME=$PACKAGE_VERSION
export RELEASE_DIRECTORY=$PACKAGE_NAME'-'$PACKAGE_VERSION
export RELEASE_FILE=$PACKAGE_NAME'-'$PACKAGE_VERSION'.zip'
22 changes: 22 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Changelog

## [Unreleased]

## [1.0.1] - 2020-10-31
### Added
- Add changelog
- Add bin scripts

### Changed
- Improve Travis CI configuration
- Add a homepage URL to package.json

## [1.0.0] - 2020-10-25
### Added
- Build cutter with core
- Add extension manifest
- Add extension icon

[Unreleased]: https://github.com/plumthedev/cutter/compare/1.0.1...HEAD
[1.0.1]: https://github.com/plumthedev/cutter/compare/1.0.0...1.0.1
[1.0.0]: https://github.com/plumthedev/cutter/releases/tag/1.0.0
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cutter",
"version": "1.0.0",
"version": "1.0.1",
"description": "Google Chrome extension to cut content on websites where copying or selecting text is difficult or impossible and save it to clipboard.",
"main": "dist/js/app.js",
"scripts": {
@@ -13,6 +13,7 @@
"name": "Kacper Pruszyński (plumthedev)",
"email": "kacper.pruszynski99@gmail.com"
},
"homepage": "https://github.com/plumthedev/cutter",
"license": "MIT",
"repository": {
"type": "git",
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Cutter",
"description": "Cut content from website and save it to clipboard.",
"version": "1.0.0",
"version": "1.0.1",
"browser_action": {
"default_icon": "icon.png"
},