зеркало из https://github.com/mozilla/fxa.git
chore(docs): add a top level AUTHORS file with all contributors
This also adds an `npm run authors` script to package.json and removes the content-server's author grunttask. I would like to add this to @philbooth's release.sh script, but wasn't sure where it would best go.
This commit is contained in:
Родитель
d62feee273
Коммит
e28c658a1c
|
@ -1,71 +1,109 @@
|
|||
Aaron Meihm
|
||||
Albiona
|
||||
Alex Davis
|
||||
Allen Short
|
||||
Andreas Textor
|
||||
Andrew Chilton
|
||||
Anwesh Nayak
|
||||
apoorvasingh17
|
||||
Arshad Kazmi
|
||||
Ashwin Patil
|
||||
Austin King
|
||||
ava14
|
||||
Beatriz Rizental
|
||||
Benson Wong
|
||||
besnik@programeshqip.org
|
||||
bini11
|
||||
Brandon Ebersohl
|
||||
Brian Warner
|
||||
championshuttler
|
||||
Chris Heilmann
|
||||
Chris Karlof
|
||||
ckarlof
|
||||
Dan Callahan
|
||||
Danny Amey
|
||||
Danny Coates
|
||||
Deepti
|
||||
Divya Biyani
|
||||
divyabiyani
|
||||
Edouard Oger
|
||||
Edwin Wong
|
||||
Emin Mastizada
|
||||
Eric Le Lay
|
||||
Erika Jonell
|
||||
Farhan Khan
|
||||
feelcoder
|
||||
Fmstrat
|
||||
Francois Marier
|
||||
Glen Mailer
|
||||
Greg Guthe
|
||||
Gurjeet Singh
|
||||
Hannah Quay-de la Vallee
|
||||
hannahqd
|
||||
Heather Booker
|
||||
Hector Zhao
|
||||
hritvi
|
||||
Hritvi Bhandari
|
||||
Ian Bicking
|
||||
irrationalagent
|
||||
Jamon Camisso
|
||||
Jared Hirsch
|
||||
Jarek
|
||||
Jason Strutz
|
||||
jbonacci
|
||||
Jed Parsons
|
||||
John Gruen
|
||||
John Morrison
|
||||
johngruen
|
||||
Jon Buckley
|
||||
Jon Petto
|
||||
jotes
|
||||
JR Conlin
|
||||
Juan García Basilio
|
||||
Jurgen Brunink
|
||||
ka7
|
||||
Karan Sapolia
|
||||
Kit Cambridge
|
||||
Larissa Gaulia
|
||||
larissagaulia
|
||||
Leif Oines
|
||||
Les Orchard
|
||||
Lloyd Hilaiel
|
||||
luke crouch
|
||||
Mark Striemer
|
||||
markh@babelzilla.org
|
||||
matjaz@mozilla.com
|
||||
MeridelW
|
||||
michael.koehler1@gmx.de
|
||||
Michiel de Jong
|
||||
mirefly
|
||||
Mohamed Hafez
|
||||
morrme
|
||||
mozilla
|
||||
Mozilla-GitHub-Standards
|
||||
MrDHat
|
||||
Muhammad Farhan
|
||||
Mutasem Aldmour
|
||||
Mynah Marie
|
||||
Nelson Pestana
|
||||
Nicholas Mandel
|
||||
Nick Alexander
|
||||
Nick Chapman
|
||||
Omkar Yadav
|
||||
Peter deHaan
|
||||
petercpg@mail.moztw.org
|
||||
Phil Booth
|
||||
Philip Jenvey
|
||||
Princi Vershwal
|
||||
rafrombrc
|
||||
Ramya Praneetha
|
||||
Ramyashree DG
|
||||
Renoir Boulanger
|
||||
Riadh Chtara
|
||||
riadhchtara
|
||||
Rishi Baldawa
|
||||
Robert Kowalski
|
||||
Roger Meier
|
||||
Ryan Feeley
|
||||
Ryan Kelly
|
||||
Sai Chandramouli
|
||||
|
@ -76,14 +114,17 @@ Sam Penrose
|
|||
Sean McArthur
|
||||
Shane Tomlinson
|
||||
shikhar-scs
|
||||
Shivam Singhal
|
||||
shreya99oak
|
||||
Soumya Himanish Mohapatra
|
||||
Sovanna
|
||||
steekid
|
||||
Sunakshi Tejwani
|
||||
tiagomoraismorgado
|
||||
Tim Taubert
|
||||
tomer@gmx.net
|
||||
Tommasina
|
||||
udara
|
||||
Udara Weerasinghege
|
||||
verbatim updates user
|
||||
vershwal
|
||||
|
@ -92,6 +133,7 @@ Vijay Budhram
|
|||
Vimal Raghubir
|
||||
Vlad Filippov
|
||||
vladikoff
|
||||
Xavier RENE-CORAIL
|
||||
YFdyh000
|
||||
Zach Carter
|
||||
Zachary Carter
|
|
@ -3,6 +3,7 @@
|
|||
"version": "2.0.0",
|
||||
"description": "Firefox Accounts monorepo",
|
||||
"scripts": {
|
||||
"authors": "git shortlog -s | cut -c8- | sort -f > AUTHORS",
|
||||
"postinstall": "_scripts/postinstall.sh",
|
||||
"update": "./pm2 kill && _scripts/update_all.sh",
|
||||
"start": "fxa-dev-launcher",
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
module.exports = function (grunt) {
|
||||
/**
|
||||
* This small task generates the AUTHORS file using the git shortlog
|
||||
*/
|
||||
|
||||
var exec = require('child_process').exec;
|
||||
var createAuthors = 'git shortlog -s < /dev/tty | cut -c8- | sort -f > AUTHORS';
|
||||
|
||||
grunt.registerTask('authors', 'Update AUTHORS file based on git contributions', function () {
|
||||
exec(createAuthors);
|
||||
});
|
||||
};
|
32
release.sh
32
release.sh
|
@ -38,13 +38,14 @@ set -e
|
|||
# 8.6. If npm-shrinkwrap.json exists, uppdate the version string in npm-shrinkwrap.json.
|
||||
# 8.7. If Cargo.toml exists, uppdate the version string in Cargo.toml.
|
||||
# 8.8. If Cargo.lock exists, uppdate the version string in Cargo.lock.
|
||||
# 9. Commit changes.
|
||||
# 10. Create a tag.
|
||||
# 11. Create or checkout the private train branch.
|
||||
# 12. Merge train branch into the private train branch.
|
||||
# 13. Create a private tag.
|
||||
# 14. Return to the original branch.
|
||||
# 15. Tell the user what we did.
|
||||
# 9. Update the AUTHORS file
|
||||
# 10. Commit changes.
|
||||
# 11. Create a tag.
|
||||
# 12. Create or checkout the private train branch.
|
||||
# 13. Merge train branch into the private train branch.
|
||||
# 14. Create a private tag.
|
||||
# 15. Return to the original branch.
|
||||
# 16. Tell the user what we did.
|
||||
|
||||
CURRENT_BRANCH=`git branch | grep '^\*' | cut -d ' ' -f 2`
|
||||
|
||||
|
@ -286,10 +287,13 @@ while read -r TARGET; do
|
|||
bump "$TARGET"
|
||||
done <<< "$TARGETS"
|
||||
|
||||
# 9. Commit changes.
|
||||
# 9. Update the AUTHORS file
|
||||
npm run authors
|
||||
|
||||
# 10. Commit changes.
|
||||
git commit -a -m "Release $NEW_VERSION"
|
||||
|
||||
# 10. Create a tag.
|
||||
# 11. Create a tag.
|
||||
git tag -a "$NEW_TAG" -m "$BUILD_TYPE release $NEW_VERSION"
|
||||
|
||||
PRIVATE_REMOTE=`git remote -v | grep "mozilla/fxa-private.git" | cut -f 1 | head -n 1`
|
||||
|
@ -303,7 +307,7 @@ fi
|
|||
PRIVATE_BRANCH="$TRAIN_BRANCH-private"
|
||||
PRIVATE_REMOTE_BRANCH="$PRIVATE_REMOTE/$PRIVATE_BRANCH"
|
||||
|
||||
# 11. Create or checkout the private train branch.
|
||||
# 12. Create or checkout the private train branch.
|
||||
PRIVATE_BRANCH_EXISTS=`git branch | awk '{$1=$1};1' | grep "^$PRIVATE_BRANCH\$"` || true
|
||||
if [ "$PRIVATE_BRANCH_EXISTS" = "" ]; then
|
||||
git fetch "$PRIVATE_REMOTE" "$PRIVATE_BRANCH" > /dev/null 2>&1 || true
|
||||
|
@ -324,18 +328,18 @@ else
|
|||
PRIVATE_DIFF_FROM="$PRIVATE_REMOTE/$PRIVATE_BRANCH"
|
||||
fi
|
||||
|
||||
# 12. Merge train branch into the private train branch.
|
||||
# 13. Merge train branch into the private train branch.
|
||||
git merge "$TRAIN_BRANCH" -m "Merge $TRAIN_BRANCH into $PRIVATE_BRANCH" > /dev/null 2>&1
|
||||
|
||||
# 13. Create a private tag.
|
||||
# 14. Create a private tag.
|
||||
PRIVATE_TAG="$NEW_TAG-private"
|
||||
PRIVATE_VERSION="$NEW_VERSION-private"
|
||||
git tag -a "$PRIVATE_TAG" -m "$BUILD_TYPE release $PRIVATE_VERSION"
|
||||
|
||||
# 14. Return to the original branch.
|
||||
# 15. Return to the original branch.
|
||||
git checkout "$CURRENT_BRANCH" > /dev/null 2>&1
|
||||
|
||||
# 15. Tell the user what we did.
|
||||
# 16. Tell the user what we did.
|
||||
echo
|
||||
echo "Success! The release has been tagged locally but it hasn't been pushed."
|
||||
echo "Before pushing, you should check that the changes appear to be sane."
|
||||
|
|
Загрузка…
Ссылка в новой задаче