Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
erxclau committed Mar 21, 2023
1 parent 47f3b76 commit 633656d
Show file tree
Hide file tree
Showing 10 changed files with 951 additions and 947 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A collection of helper scripts that are used across The Michigan Daily's project

Run `yarn add --dev michigandaily/sink` to get the latest version.

If you want to install a specifc version, add a version tag at the end of the library name (e.g., `michigandaily/sink#v2.7.2`).
If you want to install a specifc version, add a version tag at the end of the library name (e.g., `michigandaily/sink#v2.7.3`).

## Google Drive fetch

Expand Down Expand Up @@ -136,3 +136,7 @@ Create a configuration file. The file should have a `deployment` property with a
You'll also need a `build` script as part of `package.json`'s `scripts` property. Internally, `sink` will run `yarn build`.

Now you can deploy to GitHub Pages by running `yarn sink deploy github`.

## Troubleshooting

In the case that you get a `RequestTimeTooSkewed` when trying to interact with AWS, you may need to [set your system clock](https://stackoverflow.com/questions/4770635/s3-error-the-difference-between-the-request-time-and-the-current-time-is-too-la) to the correct time.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sink",
"version": "2.7.2",
"version": "2.7.3",
"description": "Helper scripts for The Michigan Daily",
"main": "src/sink.js",
"bin": {
Expand All @@ -19,9 +19,9 @@
"private": true,
"type": "module",
"dependencies": {
"@aws-sdk/client-cloudfront": "^3.294.0",
"@aws-sdk/client-s3": "^3.294.0",
"@aws-sdk/credential-providers": "^3.294.0",
"@aws-sdk/client-cloudfront": "^3.296.0",
"@aws-sdk/client-s3": "^3.296.0",
"@aws-sdk/credential-providers": "^3.296.0",
"@googleapis/drive": "^5.0.1",
"@googleapis/sheets": "^4.0.2",
"archieml": "^0.5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/sink-deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ const main = async ([platform], opts) => {

if (process.argv[1] === self) {
program
.version("2.7.2")
.version("2.7.3")
.addArgument(
new Argument("<platform>", "platform to deploy to").choices([
"aws",
Expand Down
2 changes: 1 addition & 1 deletion src/sink-fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const main = async (opts) => {
const self = fileURLToPath(import.meta.url);
if (process.argv[1] === self) {
program
.version("2.7.2")
.version("2.7.3")
.option("-c, --config <path>", "path to config file")
.parse();

Expand Down
2 changes: 1 addition & 1 deletion src/sink-gdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const main = async (opts) => {
const self = fileURLToPath(import.meta.url);
if (process.argv[1] === self) {
program
.version("2.7.2")
.version("2.7.3")
.option("-c, --config <path>", "path to config file")
.parse();

Expand Down
2 changes: 1 addition & 1 deletion src/sink-gsheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async function main(opts) {
const self = fileURLToPath(import.meta.url);
if (process.argv[1] === self) {
program
.version("2.7.2")
.version("2.7.3")
.option("-c, --config <path>", "path to config file")
.parse();

Expand Down
2 changes: 1 addition & 1 deletion src/sink-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const main = async (opts) => {
const self = fileURLToPath(import.meta.url);
if (process.argv[1] === self) {
program
.version("2.7.2")
.version("2.7.3")
.option("-c, --config <path>", "path to config file")
.parse();

Expand Down
2 changes: 1 addition & 1 deletion src/sink-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const main = async (opts) => {
const self = fileURLToPath(import.meta.url);
if (process.argv[1] === self) {
program
.version("2.7.2")
.version("2.7.3")
.option("-c, --config <path>", "path to config file")
.parse();

Expand Down
2 changes: 1 addition & 1 deletion src/sink.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { program } from "commander";

program
.version("2.7.2")
.version("2.7.3")
.name("sink")
.description("Utility scripts")
.command("gdoc", "fetch ArchieML Google Doc into JSON file")
Expand Down
Loading

0 comments on commit 633656d

Please sign in to comment.