Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.0.3

- ATUALIZA AS DEPENDENCIAS FRANGO!
- ATUALIZA COISAS DE DEV FRANGO!

# 1.0.2

- ATUALIZA AS DEPENDENCIAS FRANGO
Expand Down
5 changes: 4 additions & 1 deletion devenv.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{ pkgs, lib, config, inputs, ... }:

{
packages = [ pkgs.git ];
packages = [
pkgs.git
pkgs.neovim
];

languages.javascript = {
enable = true;
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function main() {
const program = new commander.Command();

program
.version('BIRL 1.0.2')
.version('BIRL 1.0.3')
.option('-j, --javascript', 'MOSTRA ESSE JAVASCRIPT TREZE!')
.arguments('<SEU_PROGRAMA_FRANGO>')
.action((filename) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "birl-js",
"version": "1.0.2",
"version": "1.0.3",
"description": "",
"main": "index.js",
"repository": "github:sennav/birl",
Expand Down
11 changes: 5 additions & 6 deletions release.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e

Expand All @@ -7,9 +7,8 @@ VERSION=${args[0]}
[ -z "$VERSION" ] && echo "Version not provided" && exit 1

echo "Update version on relevant files"
sed -i '' "s/\"version\":.*/\"version\": \"$VERSION\",/" package.json
sed -i '' "s/^ \"version\":.*/ \"version\": \"$VERSION\",/" package-lock.json
sed -i '' "s/version.'BIRL .*/version('BIRL $VERSION')/" index.js
sed -i "s/\"version\":.*/\"version\": \"$VERSION\",/" package.json
sed -i "s/version.'BIRL .*/version('BIRL $VERSION')/" index.js

echo "Manually update CHANGELOG"
read -sn 1 -p "Press any key to continue..." && echo ""
Expand All @@ -27,10 +26,10 @@ git tag "$VERSION"

echo "Upload git changes to remote"
git push
git push --tags

echo "Publishing package"
read -sn 1 -p "Press any key to continue..." && echo ""
npm publish --tag "birl-js@$VERSION"
npm dist-tag add "birl-js@$VERSION" latest
npm publish

echo "Version $VERSION published"